Update openwrt diffconfig to allow 802.11 driver to override regulatory domain stored in eeprom.

The reg. domain is configured to 'NL', so wifi channels 12 and 13 can be used.
This commit is contained in:
Wouter R
2014-02-01 01:41:39 +01:00
parent daabffd1ca
commit 96e0ec99dd
5 changed files with 9 additions and 1 deletions
+4 -1
View File
@@ -78,7 +78,9 @@ $IPKG_INSTROOT/etc/init.d/dhcpcheck enable
if [ -z "$IPKG_INSTROOT" ]; then
echo "Enabling wifi device..."
uci set wireless.@wifi-device[0].disabled=0; uci commit wireless; wifi
uci set wireless.@wifi-device[0].disabled=0
uci set wireless.radio0.country='NL'
uci commit wireless; wifi
addFirewallNet
@@ -97,6 +99,7 @@ else
uci set uhttpd.main.lua_prefix='/d3dapi'
uci set wireless.@wifi-device[0].disabled=0
uci set wireless.radio0.country='NL'
# TODO: add firewall net
uci set network.wlan=interface
EOM