From 4cdb76c2193444d9ae0bd6fcb590ca8dc26b990f Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Wed, 6 May 2009 12:12:29 +0000 Subject: [PATCH] use config_get_bool for outdoor mode SVN-Revision: 15634 --- package/madwifi/files/lib/wifi/madwifi.sh | 3 +-- 1 file changed, 1 insertion(+), 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 -- 2.30.2