From cce9ba475d636ad42f04494943bbbc65fa8e59f7 Mon Sep 17 00:00:00 2001 From: Akash Aggarwal Date: Thu, 27 Oct 2022 11:07:07 +0530 Subject: mm-broadband-modem-qmi: do not set "enable refresh" in PDC "register" QMI message If "enable refresh" is set, QMI modem expects an acknowledgement upon receiving a PDC refresh indication, otherwise the modem resets assuming clients are facing an issue in refreshing their cache. Register for PDC refresh indication without setting "enable refresh" TLV. We would still receive the refresh indication to notify that the list of profiles stored has changed and would not have to acknowledge the modem. --- src/mm-broadband-modem-qmi.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src') diff --git a/src/mm-broadband-modem-qmi.c b/src/mm-broadband-modem-qmi.c index dcafa0c0..98868fa7 100644 --- a/src/mm-broadband-modem-qmi.c +++ b/src/mm-broadband-modem-qmi.c @@ -7026,7 +7026,6 @@ common_enable_disable_unsolicited_events_3gpp_profile_manager (MMBroadbandModemQ input = qmi_message_pdc_register_input_new (); qmi_message_pdc_register_input_set_enable_reporting (input, enable, NULL); - qmi_message_pdc_register_input_set_enable_refresh (input, enable, NULL); qmi_client_pdc_register (QMI_CLIENT_PDC (client), input, 10, -- cgit v1.2.3-70-g09d2