|
@@ -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);
|
|
|
|