diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2018-08-05 13:50:59 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2018-08-05 14:03:34 +0200 |
commit | e1d6f61d90a0e8c4d829239049cd63c7f5bcd6fe (patch) | |
tree | 6ac511710454728ac675c9f5caa83c288c89bdf3 | |
parent | ab0133445c67091bc494f01bfaea663d5298c568 (diff) | |
download | ModemManager-aleksander/mbim-cesq.tar.gz |
mbim: if AT+CESQ supported via a TTY, enable signal interfacealeksander/mbim-cesq
If the MBIM device exposes an AT-capable TTY, there's no reason to
avoid providing Signal interface support.
-rw-r--r-- | src/mm-broadband-modem-mbim.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/src/mm-broadband-modem-mbim.c b/src/mm-broadband-modem-mbim.c index 7a62fa46f..6d803e630 100644 --- a/src/mm-broadband-modem-mbim.c +++ b/src/mm-broadband-modem-mbim.c @@ -37,7 +37,6 @@ #include "mm-iface-modem-3gpp.h" #include "mm-iface-modem-location.h" #include "mm-iface-modem-messaging.h" -#include "mm-iface-modem-signal.h" #include "mm-sms-part-3gpp.h" #if defined WITH_QMI @@ -48,14 +47,13 @@ static void iface_modem_init (MMIfaceModem *iface); static void iface_modem_3gpp_init (MMIfaceModem3gpp *iface); static void iface_modem_location_init (MMIfaceModemLocation *iface); static void iface_modem_messaging_init (MMIfaceModemMessaging *iface); -static void iface_modem_signal_init (MMIfaceModemSignal *iface); G_DEFINE_TYPE_EXTENDED (MMBroadbandModemMbim, mm_broadband_modem_mbim, MM_TYPE_BROADBAND_MODEM, 0, G_IMPLEMENT_INTERFACE (MM_TYPE_IFACE_MODEM, iface_modem_init) G_IMPLEMENT_INTERFACE (MM_TYPE_IFACE_MODEM_3GPP, iface_modem_3gpp_init) G_IMPLEMENT_INTERFACE (MM_TYPE_IFACE_MODEM_LOCATION, iface_modem_location_init) G_IMPLEMENT_INTERFACE (MM_TYPE_IFACE_MODEM_MESSAGING, iface_modem_messaging_init) - G_IMPLEMENT_INTERFACE (MM_TYPE_IFACE_MODEM_SIGNAL, iface_modem_signal_init)) +) typedef enum { PROCESS_NOTIFICATION_FLAG_NONE = 0, @@ -3561,15 +3559,6 @@ iface_modem_messaging_init (MMIfaceModemMessaging *iface) } static void -iface_modem_signal_init (MMIfaceModemSignal *iface) -{ - iface->check_support = NULL; - iface->check_support_finish = NULL; - iface->load_values = NULL; - iface->load_values_finish = NULL; -} - -static void mm_broadband_modem_mbim_class_init (MMBroadbandModemMbimClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); |