mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 23:24:22 -04:00
qcacld-3.0: Abort all scan requests before SAP is stopped
Abort all outstanding scan requests on an SAP adapter synchronously when the SAP adapter is to be stopped, so any scan callback functions will not access the buffers for SAP adapter, ACS config, etc. after they're freed. Change-Id: Idc02b140c05a5de4dc652a547cd20b8d113447b6 CRs-Fixed: 2152962
This commit is contained in:
parent
53dec12515
commit
f9b15ed483
1 changed files with 1 additions and 0 deletions
|
|
@ -4481,6 +4481,7 @@ QDF_STATUS hdd_stop_adapter(struct hdd_context *hdd_ctx, struct hdd_adapter *ada
|
|||
break;
|
||||
|
||||
case QDF_SAP_MODE:
|
||||
wlan_hdd_scan_abort(adapter);
|
||||
/* Flush IPA exception path packets */
|
||||
sap_config = &adapter->session.ap.sap_config;
|
||||
if (sap_config)
|
||||
|
|
|
|||
Loading…
Reference in a new issue