qcacld-3.0: Do not panic on fw ready timeout on non-debug builds
Currently WLAN host driver is triggering panic on fw ready time out on all builds without checking if self recovery is enabled or not. On end user builds WLAN self recovery is enabled which helps to avoid rebooting the device in this case which is easily recoverable during next WiFi turn on. Add self recovery enabled check on fw ready timeout before calling qdf_bug. Change-Id: I9c9ee3f4b87118679e79e646fb326cc4afdb1845 CRs-Fixed: 2141066
This commit is contained in:
@@ -818,7 +818,7 @@ QDF_STATUS cds_pre_enable(void)
|
||||
* fail gracefully if FW is down allowing re-probing from
|
||||
* from the platform driver
|
||||
*/
|
||||
if (!cds_is_fw_down())
|
||||
if ((!cds_is_fw_down()) && (!cds_is_self_recovery_enabled()))
|
||||
QDF_BUG(0);
|
||||
|
||||
htc_stop(gp_cds_context->htc_ctx);
|
||||
|
Reference in New Issue
Block a user