From 5bc30de4e7959b9e9639ba2db93e9c09f88072e5 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Fri, 8 May 2009 19:25:31 +0000 Subject: madwifi: clean up handling of various timings such as slot time, ack timeout, eifs time, etc. SVN-Revision: 15713 --- package/madwifi/files/lib/wifi/madwifi.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'package/madwifi/files') 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%%.*}" -- cgit v1.2.3