We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c497273 commit 210b059Copy full SHA for 210b059
drivers/net/wireless/ath/ath11k/mac.c
@@ -6322,7 +6322,7 @@ static int ath11k_mac_setup_channels_rates(struct ath11k *ar,
6322
}
6323
6324
if (supported_bands & WMI_HOST_WLAN_5G_CAP) {
6325
- if (reg_cap->high_5ghz_chan >= ATH11K_MAX_6G_FREQ) {
+ if (reg_cap->high_5ghz_chan >= ATH11K_MIN_6G_FREQ) {
6326
channels = kmemdup(ath11k_6ghz_channels,
6327
sizeof(ath11k_6ghz_channels), GFP_KERNEL);
6328
if (!channels) {
0 commit comments