diff options
author | Aleksander Morgado <aleksander@lanedo.com> | 2012-09-10 11:59:58 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@lanedo.com> | 2012-09-14 07:05:22 +0200 |
commit | bfa742ae13f36150e7b08fa0e9428a4a4f0f1d96 (patch) | |
tree | b8850b45c099923a52fd5acfdbd6974e5de9cd73 /src | |
parent | e6a4c72ebc1e0f32722c58c03eaa19ee237cf6dc (diff) |
broadband-modem-qmi: we don't support 3GPP2 messaging yet
Diffstat (limited to 'src')
-rw-r--r-- | src/mm-broadband-modem-qmi.c | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/src/mm-broadband-modem-qmi.c b/src/mm-broadband-modem-qmi.c index cd841169..27233b85 100644 --- a/src/mm-broadband-modem-qmi.c +++ b/src/mm-broadband-modem-qmi.c @@ -4866,8 +4866,15 @@ messaging_check_support (MMIfaceModemMessaging *self, QMI_SERVICE_WMS, MM_QMI_PORT_FLAG_DEFAULT); - mm_dbg ("Messaging capabilities %s by this modem", - supported ? "supported" : "not supported"); + /* We only handle 3GPP messaging (PDU based) currently, so just ignore + * CDMA-only QMI modems */ + if (mm_iface_modem_is_cdma_only (MM_IFACE_MODEM (self)) && supported) { + mm_info ("Messaging capabilities supported by this modem, " + "but 3GPP2 messaging not supported yet by ModemManager"); + supported = FALSE; + } else + mm_dbg ("Messaging capabilities %s by this modem", + supported ? "supported" : "not supported"); g_simple_async_result_set_op_res_gboolean (result, supported); g_simple_async_result_complete_in_idle (result); |