|
@@ -1895,7 +1895,6 @@ QDF_STATUS hdd_hostapd_sap_event_cb(struct sap_event *sap_event,
|
|
|
ap_ctx->operating_chan_freq,
|
|
|
sap_config->ch_params.ch_width);
|
|
|
|
|
|
- hdd_medium_assess_init();
|
|
|
sap_config->ch_params = ap_ctx->sap_context->ch_params;
|
|
|
sap_config->sec_ch_freq = ap_ctx->sap_context->sec_ch_freq;
|
|
|
|
|
@@ -6821,6 +6820,7 @@ static int __wlan_hdd_cfg80211_start_ap(struct wiphy *wiphy,
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+ hdd_medium_assess_init();
|
|
|
goto success;
|
|
|
|
|
|
err_start_bss:
|