mirror of
https://github.com/FUjr/gl-infra-builder.git
synced 2025-12-16 09:10:02 +00:00
35 lines
1012 B
Diff
35 lines
1012 B
Diff
From 6caab26bf40c3a909d5a6cbd7f71ea64d5131636 Mon Sep 17 00:00:00 2001
|
|
From: gl-dengxinfa <xinfa.deng@gl-inet.com>
|
|
Date: Thu, 10 Nov 2022 15:09:06 +0800
|
|
Subject: [PATCH] fix: change band name
|
|
|
|
---
|
|
.../package/kernel/mac80211/files/lib/wifi/mac80211.sh | 4 ++--
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/openwrt-18.06/package/kernel/mac80211/files/lib/wifi/mac80211.sh b/openwrt-18.06/package/kernel/mac80211/files/lib/wifi/mac80211.sh
|
|
index e3f7a3564..4927d576a 100755
|
|
--- a/openwrt-18.06/package/kernel/mac80211/files/lib/wifi/mac80211.sh
|
|
+++ b/openwrt-18.06/package/kernel/mac80211/files/lib/wifi/mac80211.sh
|
|
@@ -82,7 +82,7 @@ detect_mac80211() {
|
|
ht_capab=""
|
|
ssidprefix=""
|
|
noscan="0"
|
|
- band="2.4G"
|
|
+ band="2g"
|
|
htcodex="0"
|
|
txpower="20"
|
|
|
|
@@ -93,7 +93,7 @@ detect_mac80211() {
|
|
mode_band="a"
|
|
channel="161"
|
|
ssidprefix="-5G"
|
|
- band="5G"
|
|
+ band="5g"
|
|
txpower="25"
|
|
iw phy "$dev" info | grep -q 'VHT Capabilities' && htmode="VHT80"
|
|
}
|
|
--
|
|
2.34.1
|
|
|