From 10ebd8556b7990499c896a550e3d416b444211e6 Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Fri, 10 May 2024 02:23:07 +0000
Subject: [PATCH] add led
---
kernel/drivers/net/wireless/ath/ath11k/mac.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/kernel/drivers/net/wireless/ath/ath11k/mac.c b/kernel/drivers/net/wireless/ath/ath11k/mac.c
index 67faf62..3170c54 100644
--- a/kernel/drivers/net/wireless/ath/ath11k/mac.c
+++ b/kernel/drivers/net/wireless/ath/ath11k/mac.c
@@ -6044,7 +6044,7 @@
}
if (supported_bands & WMI_HOST_WLAN_5G_CAP) {
- if (reg_cap->high_5ghz_chan >= ATH11K_MAX_6G_FREQ) {
+ if (reg_cap->high_5ghz_chan >= ATH11K_MIN_6G_FREQ) {
channels = kmemdup(ath11k_6ghz_channels,
sizeof(ath11k_6ghz_channels), GFP_KERNEL);
if (!channels) {
--
Gitblit v1.6.2