mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 08:07:32 -04:00
qcacld-3.0: Flush pmksa cache for SAP when SAP stop
In certain case, the active SAP interface will be deleted by __wlan_hdd_del_virtual_intf by upper layer. In that case, we need to flush pmksa in SAP PMKID cache. Change-Id: I9a152df7a4c27aef82664f039fbca18259d6b63a CRs-Fixed: 2635424
This commit is contained in:
parent
5d219dda31
commit
93c03dad7f
1 changed files with 4 additions and 0 deletions
|
|
@ -6338,6 +6338,10 @@ QDF_STATUS hdd_stop_adapter(struct hdd_context *hdd_ctx,
|
|||
/* Diassociate with all the peers before stop ap post */
|
||||
if (test_bit(SOFTAP_BSS_STARTED, &adapter->event_flags))
|
||||
wlan_hdd_del_station(adapter);
|
||||
status = wlan_hdd_flush_pmksa_cache(adapter);
|
||||
if (QDF_IS_STATUS_ERROR(status))
|
||||
hdd_debug("Cannot flush PMKIDCache");
|
||||
|
||||
sap_config = &adapter->session.ap.sap_config;
|
||||
wlansap_reset_sap_config_add_ie(sap_config, eUPDATE_IE_ALL);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue