diff options
author | Aleksander Morgado <aleksander@lanedo.com> | 2012-08-21 12:09:08 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@lanedo.com> | 2012-08-23 19:10:59 +0200 |
commit | 84d9ba7a91c0747d8f71c8d4faabe52bb47cad00 (patch) | |
tree | 7ec75b8fa9737d24ad798b7536eb9de92f2f18bd | |
parent | 2944c5f51e198f683ce98eedd96dede5ad833e7e (diff) |
broadband-modem-qmi: assume we don't have USSD support
Just to cleanup the sequence for now, we can develop it later.
-rw-r--r-- | src/mm-broadband-modem-qmi.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/mm-broadband-modem-qmi.c b/src/mm-broadband-modem-qmi.c index 7ee819ec..d1e10ec8 100644 --- a/src/mm-broadband-modem-qmi.c +++ b/src/mm-broadband-modem-qmi.c @@ -29,16 +29,19 @@ #include "mm-modem-helpers.h" #include "mm-iface-modem.h" #include "mm-iface-modem-3gpp.h" +#include "mm-iface-modem-3gpp-ussd.h" #include "mm-iface-modem-cdma.h" #include "mm-sim-qmi.h" static void iface_modem_init (MMIfaceModem *iface); static void iface_modem_3gpp_init (MMIfaceModem3gpp *iface); +static void iface_modem_3gpp_ussd_init (MMIfaceModem3gppUssd *iface); static void iface_modem_cdma_init (MMIfaceModemCdma *iface); G_DEFINE_TYPE_EXTENDED (MMBroadbandModemQmi, mm_broadband_modem_qmi, 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_3GPP_USSD, iface_modem_3gpp_ussd_init) G_IMPLEMENT_INTERFACE (MM_TYPE_IFACE_MODEM_CDMA, iface_modem_cdma_init)); struct _MMBroadbandModemQmiPrivate { @@ -5258,6 +5261,14 @@ iface_modem_3gpp_init (MMIfaceModem3gpp *iface) } static void +iface_modem_3gpp_ussd_init (MMIfaceModem3gppUssd *iface) +{ + /* Assume we don't have USSD support */ + iface->check_support = NULL; + iface->check_support_finish = NULL; +} + +static void iface_modem_cdma_init (MMIfaceModemCdma *iface) { iface->load_meid = modem_cdma_load_meid; |