Explorar el Código

Merge "msm: ipa: fix to check for ECONNRESET"

qctecmdr hace 4 años
padre
commit
7c22e26a44
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      drivers/platform/msm/ipa/ipa_v3/ipa_qmi_service.c

+ 1 - 1
drivers/platform/msm/ipa/ipa_v3/ipa_qmi_service.c

@@ -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 */