aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJoel Selvaraj <jo@jsfamily.in>2021-07-14 03:41:42 +0530
committerAleksander Morgado <aleksander@aleksander.es>2021-07-14 08:42:29 +0000
commitc750339d5025b70e1f0750eb8504d6e2ee2d6ad8 (patch)
treeb0dd3363e984c6d5b5cd50ffdd7e8e702484cf33 /src
parent5db3e330b92b1854fc1156ff1fd2c0d03072da45 (diff)
modem-qmi: disable call list check in case of QMI
Fixes AT load call list function messing up with the call list in case of both AT+QMI is available for a given modem.
Diffstat (limited to 'src')
-rw-r--r--src/mm-broadband-modem-qmi.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mm-broadband-modem-qmi.c b/src/mm-broadband-modem-qmi.c
index 3e17975b..502910e1 100644
--- a/src/mm-broadband-modem-qmi.c
+++ b/src/mm-broadband-modem-qmi.c
@@ -8758,6 +8758,10 @@ modem_voice_check_support (MMIfaceModemVoice *self,
mm_obj_dbg (self, "Voice capabilities not supported");
g_task_return_boolean (task, FALSE);
} else {
+ /* In case of QMI, we don't need polling as call list will be dynamically updated by All Call Status indication */
+ g_object_set (self,
+ MM_IFACE_MODEM_VOICE_PERIODIC_CALL_LIST_CHECK_DISABLED, TRUE,
+ NULL);
mm_obj_dbg (self, "Voice capabilities supported");
g_task_return_boolean (task, TRUE);
}