aboutsummaryrefslogtreecommitdiffstats
path: root/package/madwifi/files/lib/wifi/madwifi.sh
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2009-05-13 13:02:20 +0000
committerFelix Fietkau <nbd@openwrt.org>2009-05-13 13:02:20 +0000
commit251a657eaf6f421884d8f9deb11bce805fa43b64 (patch)
tree6613ff5530a75087a1a4c5066b25198b6a806e11 /package/madwifi/files/lib/wifi/madwifi.sh
parent251a81b192537a46620e8e00893e14386328f40a (diff)
downloadupstream-251a657eaf6f421884d8f9deb11bce805fa43b64.tar.gz
upstream-251a657eaf6f421884d8f9deb11bce805fa43b64.tar.bz2
upstream-251a657eaf6f421884d8f9deb11bce805fa43b64.zip
madwifi: fix distance setting
SVN-Revision: 15824
Diffstat (limited to 'package/madwifi/files/lib/wifi/madwifi.sh')
-rwxr-xr-xpackage/madwifi/files/lib/wifi/madwifi.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/madwifi/files/lib/wifi/madwifi.sh b/package/madwifi/files/lib/wifi/madwifi.sh
index 1e5b0db4e9..65f9637217 100755
--- 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