aboutsummaryrefslogtreecommitdiffstats
path: root/package/madwifi/files/lib
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
commitf3068cb1e34047e1e7ff7074e10bc88f0e3d075f (patch)
tree65eec7baf195a5e22cabdc39b1a9a168f3b72a22 /package/madwifi/files/lib
parent07b7495fbbda5ee9e683967f8b9a25b3e1212659 (diff)
downloadupstream-f3068cb1e34047e1e7ff7074e10bc88f0e3d075f.tar.gz
upstream-f3068cb1e34047e1e7ff7074e10bc88f0e3d075f.tar.bz2
upstream-f3068cb1e34047e1e7ff7074e10bc88f0e3d075f.zip
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')
-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%%.*}"