|
@@ -3385,7 +3385,6 @@ QDF_STATUS hdd_init_ap_mode(struct hdd_adapter *adapter, bool reinit)
|
|
|
|
|
|
if (!reinit) {
|
|
|
adapter->session.ap.sap_config.acs_cfg.acs_mode = false;
|
|
|
- wlan_hdd_undo_acs(adapter);
|
|
|
qdf_mem_zero(&adapter->session.ap.sap_config.acs_cfg,
|
|
|
sizeof(struct sap_acs_cfg));
|
|
|
}
|
|
@@ -3420,7 +3419,6 @@ void hdd_deinit_ap_mode(struct hdd_context *hdd_ctx,
|
|
|
clear_bit(WMM_INIT_DONE, &adapter->event_flags);
|
|
|
}
|
|
|
qdf_atomic_set(&adapter->session.ap.acs_in_progress, 0);
|
|
|
- wlan_hdd_undo_acs(adapter);
|
|
|
hdd_softap_deinit_tx_rx(adapter);
|
|
|
/*
|
|
|
* if we are being called during driver unload,
|
|
@@ -5658,7 +5656,6 @@ error:
|
|
|
}
|
|
|
clear_bit(SOFTAP_INIT_DONE, &adapter->event_flags);
|
|
|
qdf_atomic_set(&adapter->session.ap.acs_in_progress, 0);
|
|
|
- wlan_hdd_undo_acs(adapter);
|
|
|
wlansap_reset_sap_config_add_ie(config, eUPDATE_IE_ALL);
|
|
|
|
|
|
free:
|
|
@@ -5775,7 +5772,6 @@ static int __wlan_hdd_cfg80211_stop_ap(struct wiphy *wiphy,
|
|
|
cds_flush_work(&adapter->sap_stop_bss_work);
|
|
|
adapter->session.ap.sap_config.acs_cfg.acs_mode = false;
|
|
|
qdf_atomic_set(&adapter->session.ap.acs_in_progress, 0);
|
|
|
- wlan_hdd_undo_acs(adapter);
|
|
|
qdf_mem_zero(&adapter->session.ap.sap_config.acs_cfg,
|
|
|
sizeof(struct sap_acs_cfg));
|
|
|
hdd_debug("Disabling queues");
|