commit | 4e20fb383b6148d09545f95c756c19af9ba8bc87 | [log] [tgz] |
---|---|---|
author | Jacob Erlbeck <jerlbeck@sysmocom.de> | Mon Jan 26 09:22:39 2015 +0100 |
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | Tue Jan 27 08:30:49 2015 +0100 |
tree | 57f3e4acbb04e3b5ee1e524910b4b5538b500ffc | |
parent | 196cb62a079e5ba2133676fcae03a4a0f87e2cf0 [diff] |
gprs: Don't check for EINPROGRESS in gprs_gsup_client_create Currently, the return value of gsup_client_connect is checked whether it is < 0 and != -EINPROGESS. Since gsup_client_connect will only return a negative value on a few permanent errors (not including EINPROGRESS), rc is always != EINPROGRESS. This patch removes the explicit check againt -EINPROGRESS and just leaves the check rc < 0. Sponsored-by: On-Waves ehf