summaryrefslogtreecommitdiff
path: root/package/madwifi/files
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
parent537f2199ace465673e8151e389b7638c0808afea (diff)
downloadmtk-20170518-5bc30de4e7959b9e9639ba2db93e9c09f88072e5.zip
mtk-20170518-5bc30de4e7959b9e9639ba2db93e9c09f88072e5.tar.gz
mtk-20170518-5bc30de4e7959b9e9639ba2db93e9c09f88072e5.tar.bz2
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')
-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 a3cf4d7..1e5b0db 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%%.*}"