commit | 4d63d920333c23996b4a2773aa7c363812971b37 | [log] [tgz] |
---|---|---|
author | Pau Espin Pedrol <pespin@sysmocom.de> | Tue Jun 13 16:23:23 2017 +0200 |
committer | Neels Hofmeyr <nhofmeyr@sysmocom.de> | Tue Jun 13 14:37:57 2017 +0000 |
tree | 05547644d1928824f9d54988fa955462458c076a | |
parent | e4cd7910a544019f6c01ae8a8b5a26e6c85a361e [diff] |
ofono_client: gracefully handle Scan() failure ofono's NetworkRegistration.Scan() method fails sporadically. On failure, check if we are now registered to the desired network, and schedule another scan otherwise. For instance it fails with org.ofono.Error.Failed if the modem starts to register internally after we started Scan() and the registering succeeds while we are still waiting for Scan() to finsih. Change-Id: I4a2265ee39a94daa00f525b1c7037a6775509425