aboutsummaryrefslogtreecommitdiffstats
path: root/package/madwifi/files/lib/wifi
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2009-05-08 19:25:31 +0000
committerFelix Fietkau <nbd@openwrt.org>2009-05-08 19:25:31 +0000
commit5bc30de4e7959b9e9639ba2db93e9c09f88072e5 (patch)
tree3720dd7906c6c87a2a5cd79f4e6d2886639cc9fd /package/madwifi/files/lib/wifi
parent537f2199ace465673e8151e389b7638c0808afea (diff)
downloadupstream-5bc30de4e7959b9e9639ba2db93e9c09f88072e5.tar.gz
upstream-5bc30de4e7959b9e9639ba2db93e9c09f88072e5.tar.bz2
upstream-5bc30de4e7959b9e9639ba2db93e9c09f88072e5.zip
madwifi: clean up handling of various timings such as slot time, ack timeout, eifs time, etc.
SVN-Revision: 15713
Diffstat (limited to 'package/madwifi/files/lib/wifi')
-rwxr-xr-xpackage/madwifi/files/lib/wifi/madwifi.sh4
1 files changed, 1 insertions, 3 deletions
diff --git a/package/madwifi/files/lib/wifi/madwifi.sh b/package/madwifi/files/lib/wifi/madwifi.sh
index a3cf4d75e1..1e5b0db4e9 100755
--- a/package/madwifi/files/lib/wifi/madwifi.sh
+++ b/package/madwifi/files/lib/wifi/madwifi.sh
@@ -219,9 +219,7 @@ 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" ] && athctrl -i "$device" -d "$distance" >&-
+ [ -n "$distance" ] && sysctl -w dev."$device".distance="$distance" >&-
config_get rate "$vif" rate
[ -n "$rate" ] && iwconfig "$ifname" rate "${rate%%.*}"