projects
/
oweals
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
56ae52b
)
use config_get_bool for outdoor mode
author
Felix Fietkau
<nbd@openwrt.org>
Wed, 6 May 2009 12:12:29 +0000
(12:12 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Wed, 6 May 2009 12:12:29 +0000
(12:12 +0000)
SVN-Revision: 15634
package/madwifi/files/lib/wifi/madwifi.sh
patch
|
blob
|
history
diff --git
a/package/madwifi/files/lib/wifi/madwifi.sh
b/package/madwifi/files/lib/wifi/madwifi.sh
index 2fe866410eb2f21f4697ce7569cdb87d12d43786..a3cf4d75e16035d5013438535f96fd87ee0b14ce 100755
(executable)
--- 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