summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2018-08-14 10:33:49 +0200
committerAleksander Morgado <aleksander@aleksander.es>2018-09-22 10:52:15 +0200
commit9433ddfa75b5605e5db4383d2587d36b2418ccb5 (patch)
tree0e38735031118cd47fcddc91d0b3e02e51c9f8b8
parentd678a0a8d5e21cc4de270d9b53439fbbe2e5f4ac (diff)
downloadModemManager-9433ddfa75b5605e5db4383d2587d36b2418ccb5.tar.gz
broadband-modem-mbim: explicitly ignore SMS storage initialization
The MBIM protocol hides to the user the concept of SMS storages, so we should explicitly ignore the initialization step so that it isn't run with the parent AT-based implementation. (cherry picked from commit b7e5ca62c5eca1118e0c5cbda3d769f2c756c92c)
-rw-r--r--src/mm-broadband-modem-mbim.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mm-broadband-modem-mbim.c b/src/mm-broadband-modem-mbim.c
index 7a62fa46f..96d39f61d 100644
--- a/src/mm-broadband-modem-mbim.c
+++ b/src/mm-broadband-modem-mbim.c
@@ -3547,6 +3547,8 @@ iface_modem_messaging_init (MMIfaceModemMessaging *iface)
iface->setup_sms_format_finish = NULL;
iface->set_default_storage = NULL;
iface->set_default_storage_finish = NULL;
+ iface->init_current_storages = NULL;
+ iface->init_current_storages_finish = NULL;
iface->load_initial_sms_parts = load_initial_sms_parts;
iface->load_initial_sms_parts_finish = load_initial_sms_parts_finish;
iface->setup_unsolicited_events = setup_unsolicited_events_messaging;