mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-25 06:03:36 -04:00
qcacld-3.0: Flush pending scan queue during con mode handling
Currently, Host is operating into STA (mission mode) and scan is pending into the pending queue. As a part of the mission mode to ftm transition scan pending queue is not flushed. Hence later during driver unload, host try to flush this pending request but sta adpater is already freed during con mode transition which lead to kernel panic. As a part of this fix, Host ensures to flush pending scan queue during con mode handling. Change-Id: I13da323217a36777b9307c1bc76febc1a1b9b591 CRs-Fixed: 2082105
This commit is contained in:
parent
81722635e9
commit
6bdb77be27
1 changed files with 1 additions and 0 deletions
|
|
@ -11493,6 +11493,7 @@ static void hdd_cleanup_present_mode(struct hdd_context *hdd_ctx,
|
|||
case QDF_GLOBAL_FTM_MODE:
|
||||
if (driver_status != DRIVER_MODULES_CLOSED) {
|
||||
hdd_abort_mac_scan_all_adapters(hdd_ctx);
|
||||
wlan_cfg80211_cleanup_scan_queue(hdd_ctx->hdd_pdev);
|
||||
hdd_stop_all_adapters(hdd_ctx);
|
||||
}
|
||||
hdd_deinit_all_adapters(hdd_ctx, false);
|
||||
|
|
|
|||
Loading…
Reference in a new issue