mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 22:40:54 -04:00
msm: ipa: fix to check for ECONNRESET
ECONNRESET is returned if Q6 QMI service is down. Make changes to check for ECONNRESET as well to detect SSR. Signed-off-by: Michael Adisumarta <madisuma@codeaurora.org>
This commit is contained in:
parent
0701cc2fb8
commit
8135efe0d4
1 changed files with 1 additions and 1 deletions
|
|
@ -1501,7 +1501,7 @@ static void ipa3_q6_clnt_svc_arrive(struct work_struct *work)
|
|||
/* Initialize modem IPA-driver */
|
||||
IPAWANDBG("send ipa3_qmi_init_modem_send_sync_msg to modem\n");
|
||||
rc = ipa3_qmi_init_modem_send_sync_msg();
|
||||
if ((rc == -ENETRESET) || (rc == -ENODEV)) {
|
||||
if ((rc == -ENETRESET) || (rc == -ENODEV) || (rc == -ECONNRESET)) {
|
||||
IPAWANERR(
|
||||
"ipa3_qmi_init_modem_send_sync_msg failed due to SSR!\n");
|
||||
/* Cleanup when ipa3_wwan_remove is called */
|
||||
|
|
|
|||
Loading…
Reference in a new issue