diff options
author | Aleksander Morgado <aleksander@lanedo.com> | 2012-01-03 17:07:08 +0100 |
---|---|---|
committer | Aleksander Morgado <aleksander@lanedo.com> | 2012-03-15 14:14:43 +0100 |
commit | a68847a091074364f57be671fb405dd340cfa9d9 (patch) | |
tree | 3a1f93dd80407e037e70146f4f1cc84f779cae75 /src | |
parent | ffae95a46b66190484f414d40e50434aa278d34d (diff) |
iface-modem-3gpp: if modem is LTE-only, assume no CS network is expected
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 */ |