22 lines
891 B
Diff
Executable File
22 lines
891 B
Diff
Executable File
--- a/package/kernel/mac80211/files/lib/wifi/mac80211.sh
|
|
+++ b/package/kernel/mac80211/files/lib/wifi/mac80211.sh
|
|
@@ -174,14 +174,15 @@ detect_mac80211() {
|
|
set wireless.radio${devidx}.channel=${channel}
|
|
set wireless.radio${devidx}.band=${mode_band}
|
|
set wireless.radio${devidx}.htmode=$htmode
|
|
+ set wireless.radio${devidx}.country=CN
|
|
set wireless.radio${devidx}.disabled=0
|
|
- set wireless.radio${devidx}.country=US
|
|
-
|
|
+
|
|
set wireless.default_radio${devidx}=wifi-iface
|
|
set wireless.default_radio${devidx}.device=radio${devidx}
|
|
+ set wireless.default_radio0.ssid=OpenWrt_2.4G
|
|
+ set wireless.default_radio1.ssid=OpenWrt_5G
|
|
set wireless.default_radio${devidx}.network=lan
|
|
set wireless.default_radio${devidx}.mode=ap
|
|
- set wireless.default_radio${devidx}.ssid=OpenWrt
|
|
set wireless.default_radio${devidx}.encryption=none
|
|
EOF
|
|
uci -q commit wireless
|