From 1e7164792732b28db77fdc3d56e4a7a9e43e6602 Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Thu, 28 Mar 2013 20:48:42 +0100 Subject: broadband-modem: plugins may disable parent's access tech loading --- src/mm-broadband-modem.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); -- cgit v1.2.3