projects
/
15.05
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f9b8d9e
)
madwifi: fix distance setting
author
Felix Fietkau
<nbd@openwrt.org>
Wed, 13 May 2009 13:02:20 +0000
(13:02 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Wed, 13 May 2009 13:02:20 +0000
(13:02 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15824
3c298f89
-4303-0410-b956-
a3cf2f4a3e73
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
1e5b0db
..
65f9637
100755
(executable)
--- a/
package/madwifi/files/lib/wifi/madwifi.sh
+++ b/
package/madwifi/files/lib/wifi/madwifi.sh
@@
-219,6
+219,8
@@
enable_atheros() {
[ -n "$antrx" ] && sysctl -w dev."$device".rxantenna="$antrx" >&-
[ -n "$anttx" ] && sysctl -w dev."$device".txantenna="$anttx" >&-
[ -n "$softled" ] && sysctl -w dev."$device".softled="$softled" >&-
+
+ config_get distance "$device" distance
[ -n "$distance" ] && sysctl -w dev."$device".distance="$distance" >&-
config_get rate "$vif" rate