Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b6adfb59 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "ipc: apr: set q6 state down when ECONNRESET from TAL"

parents fc3cf7b6 35d2276e
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -432,6 +432,8 @@ int apr_send_pkt(void *handle, uint32_t *buf)
		if (rc == -ECONNRESET) {
			pr_err_ratelimited("%s: Received reset error from tal\n",
					__func__);
			if (svc->dest_id == APR_DEST_QDSP6)
				apr_set_q6_state(APR_SUBSYS_DOWN);
			rc = -ENETRESET;
		}
		if (rc == -EAGAIN || rc == -ETIMEDOUT) {