aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mm-iface-modem-3gpp.c9
-rw-r--r--src/mm-iface-modem.c9
-rw-r--r--src/mm-iface-modem.h1
3 files changed, 0 insertions, 19 deletions
diff --git a/src/mm-iface-modem-3gpp.c b/src/mm-iface-modem-3gpp.c
index f3779c95..662052fb 100644
--- a/src/mm-iface-modem-3gpp.c
+++ b/src/mm-iface-modem-3gpp.c
@@ -2579,15 +2579,6 @@ 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_obj_dbg (self, "LTE-only device, assuming CS network is not supported");
- g_object_set (self,
- MM_IFACE_MODEM_3GPP_CS_NETWORK_SUPPORTED, FALSE,
- NULL);
- }
}
ctx = g_new0 (InitializationContext, 1);
diff --git a/src/mm-iface-modem.c b/src/mm-iface-modem.c
index eaab6c17..14e64ec3 100644
--- a/src/mm-iface-modem.c
+++ b/src/mm-iface-modem.c
@@ -5590,15 +5590,6 @@ mm_iface_modem_is_3gpp_only (MMIfaceModem *self)
}
gboolean
-mm_iface_modem_is_3gpp_lte_only (MMIfaceModem *self)
-{
- MMModemCapability capabilities;
-
- capabilities = mm_iface_modem_get_current_capabilities (self);
- return ((capabilities & MM_MODEM_CAPABILITY_LTE) && !((MM_MODEM_CAPABILITY_LTE ^ capabilities) & capabilities));
-}
-
-gboolean
mm_iface_modem_is_cdma_only (MMIfaceModem *self)
{
return (mm_iface_modem_get_current_capabilities (self) == MM_MODEM_CAPABILITY_CDMA_EVDO);
diff --git a/src/mm-iface-modem.h b/src/mm-iface-modem.h
index 13be87ad..541d6f6b 100644
--- a/src/mm-iface-modem.h
+++ b/src/mm-iface-modem.h
@@ -391,7 +391,6 @@ MMModemCapability mm_iface_modem_get_current_capabilities (MMIfaceModem *self);
gboolean mm_iface_modem_is_3gpp (MMIfaceModem *self);
gboolean mm_iface_modem_is_3gpp_only (MMIfaceModem *self);
gboolean mm_iface_modem_is_3gpp_lte (MMIfaceModem *self);
-gboolean mm_iface_modem_is_3gpp_lte_only (MMIfaceModem *self);
gboolean mm_iface_modem_is_cdma (MMIfaceModem *self);
gboolean mm_iface_modem_is_cdma_only (MMIfaceModem *self);