Browse Source

icnss2: Ignore FW ready timeout if AON is not up

Ignore FW ready timeout if AON is not up.

Change-Id: I77ae832e8d5c2fceb5228ff5554375fa3e6ecb08
CRs-Fixed: 3519857
Dundi Raviteja 1 year ago
parent
commit
0168d637ed
1 changed files with 4 additions and 0 deletions
  1. 4 0
      icnss2/main.c

+ 4 - 0
icnss2/main.c

@@ -4901,6 +4901,10 @@ void icnss_recovery_timeout_hdlr(struct timer_list *t)
 {
 	struct icnss_priv *priv = from_timer(priv, t, recovery_timer);
 
+	/* This is to handle if slate is not up and modem SSR is triggered */
+	if (priv->is_slate_rfa && !test_bit(ICNSS_SLATE_UP, &priv->state))
+		return;
+
 	icnss_pr_err("Timeout waiting for FW Ready 0x%lx\n", priv->state);
 	ICNSS_ASSERT(0);
 }