iface-modem-3gpp: don't fixup CS network support

This is already done by the modem interface as soon as current
capabilities are loaded.
This commit is contained in:
Aleksander Morgado
2020-04-09 12:38:50 +00:00
parent 05301f23a1
commit f31182c08d
3 changed files with 0 additions and 19 deletions
-9
View File
@@ -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);
-9
View File
@@ -5589,15 +5589,6 @@ mm_iface_modem_is_3gpp_only (MMIfaceModem *self)
return (capabilities & MM_MODEM_CAPABILITY_3GPP) && !((MM_MODEM_CAPABILITY_3GPP ^ capabilities) & capabilities);
}
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)
{
-1
View File
@@ -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);