aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@lanedo.com>2013-03-28 20:48:42 +0100
committerAleksander Morgado <aleksander@lanedo.com>2013-03-28 20:48:42 +0100
commit1e7164792732b28db77fdc3d56e4a7a9e43e6602 (patch)
treeb1a02b6e1e61eefc7ac663c19659f4e376e862c9
parent633708b364c646595af3242c6d1a7b03b9a2359f (diff)
broadband-modem: plugins may disable parent's access tech loading
-rw-r--r--src/mm-broadband-modem.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mm-broadband-modem.c b/src/mm-broadband-modem.c
index 7493ccde..8ec4d1e6 100644
--- a/src/mm-broadband-modem.c
+++ b/src/mm-broadband-modem.c
@@ -3219,7 +3219,8 @@ registration_state_changed (MMAtSerialPort *port,
* we fight with the custom commands. Plus CREG/CGREG access technologies
* don't have fine-grained distinction between HSxPA or GPRS/EDGE, etc.
*/
- if (MM_IFACE_MODEM_GET_INTERFACE (self)->load_access_technologies == modem_load_access_technologies)
+ if (MM_IFACE_MODEM_GET_INTERFACE (self)->load_access_technologies == modem_load_access_technologies ||
+ MM_IFACE_MODEM_GET_INTERFACE (self)->load_access_technologies == NULL)
mm_iface_modem_3gpp_update_access_technologies (MM_IFACE_MODEM_3GPP (self), act);
mm_iface_modem_3gpp_update_location (MM_IFACE_MODEM_3GPP (self), lac, cell_id);