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 | 4cdb76c2193444d9ae0bd6fcb590ca8dc26b990f (patch) | |
tree | 443b0500ea5114f61df5219c681e2e872f5fe0fa /package/madwifi | |
parent | 56ae52b0080c73fd3fd181cad0a3a79253aafc1b (diff) | |
download | mtk-20170518-4cdb76c2193444d9ae0bd6fcb590ca8dc26b990f.zip mtk-20170518-4cdb76c2193444d9ae0bd6fcb590ca8dc26b990f.tar.gz mtk-20170518-4cdb76c2193444d9ae0bd6fcb590ca8dc26b990f.tar.bz2 |
use config_get_bool for outdoor mode
SVN-Revision: 15634
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 2fe8664..a3cf4d7 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 |