diff options
-rwxr-xr-x | package/madwifi/files/lib/wifi/madwifi.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/package/madwifi/files/lib/wifi/madwifi.sh b/package/madwifi/files/lib/wifi/madwifi.sh index 1e5b0db..65f9637 100755 --- a/package/madwifi/files/lib/wifi/madwifi.sh +++ b/package/madwifi/files/lib/wifi/madwifi.sh @@ -219,6 +219,8 @@ 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" ] && sysctl -w dev."$device".distance="$distance" >&- config_get rate "$vif" rate |