mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 07:03:09 -04:00
qcacld-3.0: Avoid recovery during driver unloading
During wlan unloading, target failure is ignored, no recovery will happen, refer function ol_target_failure During wlan unloading, cds_cfg may be freed, can't get cds_is_self_recovery_enabled state correctly Change-Id: I321d4029f299ef2eb7a6316faaed90f62e091b4e CRs-Fixed: 2224058
This commit is contained in:
parent
db28e7dc46
commit
26b9b8a963
1 changed files with 5 additions and 0 deletions
|
|
@ -1778,6 +1778,11 @@ static void cds_trigger_recovery_work(void *param)
|
|||
qdf_runtime_lock_t rtl;
|
||||
qdf_device_t qdf;
|
||||
|
||||
if (cds_is_driver_unloading()) {
|
||||
cds_err("Unloading in progress; ignoring recovery trigger");
|
||||
return;
|
||||
}
|
||||
|
||||
if (cds_is_driver_recovering()) {
|
||||
cds_err("Recovery in progress; ignoring recovery trigger");
|
||||
return;
|
||||
|
|
|
|||
Loading…
Reference in a new issue