diff options
author | Felix Fietkau <nbd@openwrt.org> | 2009-05-06 12:12:29 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2009-05-06 12:12:29 +0000 |
commit | aace9026ca1b9c49cbd7fb2f4a8cc04638a1f6bf (patch) | |
tree | 01823ba8d107edc96fb0e378423b426a16956be8 /package/madwifi | |
parent | 9060d40b474ce3646f0d9bd40f5a2b2d61f68c78 (diff) | |
download | master-187ad058-aace9026ca1b9c49cbd7fb2f4a8cc04638a1f6bf.tar.gz master-187ad058-aace9026ca1b9c49cbd7fb2f4a8cc04638a1f6bf.tar.bz2 master-187ad058-aace9026ca1b9c49cbd7fb2f4a8cc04638a1f6bf.zip |
use config_get_bool for outdoor mode
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15634 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/madwifi')
-rwxr-xr-x | package/madwifi/files/lib/wifi/madwifi.sh | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/package/madwifi/files/lib/wifi/madwifi.sh b/package/madwifi/files/lib/wifi/madwifi.sh index 2fe866410e..a3cf4d75e1 100755 --- a/package/madwifi/files/lib/wifi/madwifi.sh +++ b/package/madwifi/files/lib/wifi/madwifi.sh @@ -75,8 +75,7 @@ enable_atheros() { [ -z "$country" ] && country="0" echo "$country" > /proc/sys/dev/$device/countrycode - config_get outdoor "$device" outdoor - [ -z "$outdoor" ] && outdoor="0" + config_get_bool outdoor "$device" outdoor "0" echo "$outdoor" > /proc/sys/dev/$device/outdoor config_get channel "$device" channel |