summaryrefslogtreecommitdiffstats
path: root/plugins/gobi.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/gobi.c')
-rw-r--r--plugins/gobi.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/gobi.c b/plugins/gobi.c
index 01742f4e..b533d861 100644
--- a/plugins/gobi.c
+++ b/plugins/gobi.c
@@ -340,6 +340,9 @@ static int gobi_disable(struct ofono_modem *modem)
DBG("%p", modem);
+ qmi_service_cancel_all(data->dms);
+ qmi_service_unregister_all(data->dms);
+
param = qmi_param_new_uint8(QMI_DMS_PARAM_OPER_MODE,
QMI_DMS_OPER_MODE_PERSIST_LOW_POWER);
if (!param)