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.
This commit is contained in:
Akash Aggarwal
2022-10-27 11:07:07 +05:30
parent 6711cdbbf5
commit cce9ba475d

View File

@@ -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,