From 251a657eaf6f421884d8f9deb11bce805fa43b64 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Wed, 13 May 2009 13:02:20 +0000 Subject: madwifi: fix distance setting SVN-Revision: 15824 --- package/madwifi/files/lib/wifi/madwifi.sh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'package/madwifi') 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 -- cgit v1.1