madwifi: clean up handling of various timings such as slot time, ack timeout, eifs...
[openwrt.git] / package / madwifi / files / lib / wifi / madwifi.sh
index a3cf4d7..1e5b0db 100755 (executable)
@@ -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%%.*}"
This page took 0.032454 seconds and 4 git commands to generate.