summaryrefslogtreecommitdiff
path: root/package/madwifi/files/lib/wifi/madwifi.sh
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-05-08 19:25:31 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-05-08 19:25:31 +0000
commit8b4e96dd04c2d481af773b18197caeb1df587ff2 (patch)
tree65eec7baf195a5e22cabdc39b1a9a168f3b72a22 /package/madwifi/files/lib/wifi/madwifi.sh
parent11afdfa934dc20a1317d8414e779c11aaaf86e4e (diff)
madwifi: clean up handling of various timings such as slot time, ack timeout, eifs time, etc.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15713 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/madwifi/files/lib/wifi/madwifi.sh')
-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%%.*}"