mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 08:36:12 -04:00
qcacld-3.0: Avoid panic in driver inactivity op timer if fw is down
It's possible that FW crashes during driver unload hence avoid panic in driver inactivity op timer handler if fw is already down. Change-Id: I43b520fe064ede919f5f98674d98e8861fd9a414 CRs-Fixed: 2167265
This commit is contained in:
parent
6edb217876
commit
1e57b9c78f
1 changed files with 5 additions and 0 deletions
|
|
@ -13454,6 +13454,11 @@ void hdd_drv_ops_inactivity_handler(void)
|
|||
sizeof("shutdown")))
|
||||
QDF_BUG(0);
|
||||
|
||||
if (cds_is_fw_down()) {
|
||||
hdd_err("FW is down");
|
||||
return;
|
||||
}
|
||||
|
||||
if (cds_is_self_recovery_enabled())
|
||||
cds_trigger_recovery(QDF_REASON_UNSPECIFIED);
|
||||
else
|
||||
|
|
|
|||
Loading…
Reference in a new issue