diff options
author | Aleksander Morgado <aleksander@lanedo.com> | 2013-04-19 08:34:40 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@lanedo.com> | 2013-04-19 09:37:20 +0200 |
commit | aa4fd7c421776c33f0955517eb441fa2a14d6401 (patch) | |
tree | e1549b07461c10e793aeb492cf0e2b43d1216ef3 /libqcdm/src | |
parent | 92035fdf1c39c9e1bf8b7d419d913e85bc8e1a44 (diff) |
broadband-modem-mbim: don't make no-SIM errors directly fatal, retry instead
The MC7710 will report a MBIM_SUBSCRIBER_READY_STATE_SIM_NOT_INSERTED status
when initializing and the SIM is not ready yet. So retry a couple of times as we
do for MBIM_SUBSCRIBER_READY_STATE_NOT_INITIALIZED. If all retries are consumed,
get the last reported status to build the error.
This change makes all modems without SIM require up to 10s to get fully
initialized and exposed in DBus; but it shouldn't be a big deal as the modems
are unusable anyway.
https://bugzilla.gnome.org/show_bug.cgi?id=698264
Diffstat (limited to 'libqcdm/src')
0 files changed, 0 insertions, 0 deletions