mac80211: set default config

This commit is contained in:
Lienol 2021-07-13 00:47:16 +08:00
parent dc5e9e61a4
commit b19ff823ce

View File

@ -169,7 +169,7 @@ detect_mac80211() {
fi
ssid="OpenWrt"
[ "$mode_band" = "a" ] && ssid="${ssid}_5G"
[ "$mode_band" != "" -a "$mode_band" != "2g" ] && ssid="${ssid}_5G"
uci -q batch <<-EOF
set wireless.radio${devidx}=wifi-device