diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/mm-iface-modem-3gpp.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/mm-iface-modem-3gpp.c b/src/mm-iface-modem-3gpp.c index bade166b..e7c1de7d 100644 --- a/src/mm-iface-modem-3gpp.c +++ b/src/mm-iface-modem-3gpp.c @@ -1730,6 +1730,15 @@ mm_iface_modem_3gpp_initialize (MMIfaceModem3gpp *self, g_object_set (self, MM_IFACE_MODEM_3GPP_DBUS_SKELETON, skeleton, NULL); + + /* If the modem is *only* LTE, we assume that CS network is not + * supported */ + if (mm_iface_modem_is_3gpp_lte_only (MM_IFACE_MODEM (self))) { + mm_dbg ("Modem is LTE-only, assuming CS network is not supported"); + g_object_set (self, + MM_IFACE_MODEM_3GPP_CS_NETWORK_SUPPORTED, FALSE, + NULL); + } } /* Perform async initialization here */ |