diff options
author | Aleksander Morgado <aleksander@lanedo.com> | 2013-07-18 14:45:58 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@lanedo.com> | 2013-10-25 19:47:18 +0200 |
commit | df986c076dec33128c2ba202062ce4338cef3ad2 (patch) | |
tree | ac8894f7bf0f881c9200c65284e6968c7449f9e1 /src/mm-broadband-modem-mbim.c | |
parent | e90ff4155c63735581d0a213fdf3ae53c02bfc26 (diff) | |
download | ModemManager-df986c076dec33128c2ba202062ce4338cef3ad2.tar.gz |
sms: split SMS part handling into common and 3GPP-specific
Diffstat (limited to 'src/mm-broadband-modem-mbim.c')
-rw-r--r-- | src/mm-broadband-modem-mbim.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/mm-broadband-modem-mbim.c b/src/mm-broadband-modem-mbim.c index f7dbd9b8a..4c5d6eac8 100644 --- a/src/mm-broadband-modem-mbim.c +++ b/src/mm-broadband-modem-mbim.c @@ -36,6 +36,7 @@ #include "mm-iface-modem.h" #include "mm-iface-modem-3gpp.h" #include "mm-iface-modem-messaging.h" +#include "mm-sms-part-3gpp.h" static void iface_modem_init (MMIfaceModem *iface); static void iface_modem_3gpp_init (MMIfaceModem3gpp *iface); @@ -2407,10 +2408,10 @@ add_sms_part (MMBroadbandModemMbim *self, MMSmsPart *part; GError *error = NULL; - part = mm_sms_part_new_from_binary_pdu (pdu->message_index, - pdu->pdu_data, - pdu->pdu_data_size, - &error); + part = mm_sms_part_3gpp_new_from_binary_pdu (pdu->message_index, + pdu->pdu_data, + pdu->pdu_data_size, + &error); if (part) { mm_dbg ("Correctly parsed PDU (%d)", pdu->message_index); mm_iface_modem_messaging_take_part (MM_IFACE_MODEM_MESSAGING (self), |