projects
/
openwrt
/
staging
/
robimarko.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
251a81b
)
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)
SVN-Revision: 15824
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 1e5b0db4e9dd9df8144f8251452439e8754ce3db..65f9637217ac39321646b06f40135cdab936f562 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