|
@@ -3209,7 +3209,8 @@ qdf_freq_t wlansap_get_chan_band_restrict(struct sap_context *sap_ctx,
|
|
restart_freq, restart_ch_width);
|
|
restart_freq, restart_ch_width);
|
|
*csa_reason = CSA_REASON_BAND_RESTRICTED;
|
|
*csa_reason = CSA_REASON_BAND_RESTRICTED;
|
|
} else if (wlan_reg_is_disable_for_freq(mac->pdev,
|
|
} else if (wlan_reg_is_disable_for_freq(mac->pdev,
|
|
- sap_ctx->chan_freq)) {
|
|
|
|
|
|
+ sap_ctx->chan_freq) &&
|
|
|
|
+ !utils_dfs_is_freq_in_nol(mac->pdev, sap_ctx->chan_freq)) {
|
|
sap_debug("channel is disabled");
|
|
sap_debug("channel is disabled");
|
|
*csa_reason = CSA_REASON_CHAN_DISABLED;
|
|
*csa_reason = CSA_REASON_CHAN_DISABLED;
|
|
return wlansap_get_safe_channel_from_pcl_and_acs_range(sap_ctx);
|
|
return wlansap_get_safe_channel_from_pcl_and_acs_range(sap_ctx);
|