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
This commit is contained in:
Dundi Raviteja
2023-06-12 18:55:21 +05:30
committed by Rahul Choudhary
parent 9b33792f8b
commit 0168d637ed

View File

@@ -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);
}