aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@lanedo.com>2013-05-07 14:59:20 +0200
committerAleksander Morgado <aleksander@lanedo.com>2013-05-20 09:08:35 +0200
commite18e1686820136fe133651231f8a1d28da9912bc (patch)
tree8859e5befb338428cc03377cc6bb0b9007158172 /src
parent2bb0a23b1f3de4d3234193f392941a57160c606c (diff)
bearer: allow registration changes from/to SEARCHING without disconnecting
We allow the modem to be connected while the registration state is 'SEARCHING', which may happen when the coverage is poor.
Diffstat (limited to 'src')
-rw-r--r--src/mm-bearer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mm-bearer.c b/src/mm-bearer.c
index d047e11f..7ef516f4 100644
--- a/src/mm-bearer.c
+++ b/src/mm-bearer.c
@@ -188,12 +188,12 @@ modem_3gpp_registration_state_changed (MMIfaceModem3gpp *modem,
switch (state) {
case MM_MODEM_3GPP_REGISTRATION_STATE_IDLE:
- case MM_MODEM_3GPP_REGISTRATION_STATE_SEARCHING:
case MM_MODEM_3GPP_REGISTRATION_STATE_DENIED:
case MM_MODEM_3GPP_REGISTRATION_STATE_UNKNOWN:
self->priv->reason_3gpp = CONNECTION_FORBIDDEN_REASON_UNREGISTERED;
break;
case MM_MODEM_3GPP_REGISTRATION_STATE_HOME:
+ case MM_MODEM_3GPP_REGISTRATION_STATE_SEARCHING:
self->priv->reason_3gpp = CONNECTION_FORBIDDEN_REASON_NONE;
break;
case MM_MODEM_3GPP_REGISTRATION_STATE_ROAMING: