If FW ready event is timed out, then add debug panic such that we can collect FW ram dump reliably. Change-Id: I61f19023675ec6d7bb4ff882d4a08f0ffcee1607 CRs-Fixed: 2670314
@@ -6918,6 +6918,7 @@ QDF_STATUS wma_wait_for_ready_event(WMA_HANDLE handle)
WMA_READY_EVENTID_TIMEOUT);
if (!tgt_hdl->info.wmi_ready) {
wma_err("Error in pdev creation");
+ QDF_DEBUG_PANIC("FW ready event timed out");
return QDF_STATUS_E_INVAL;
}