From: Felix Fietkau Date: Wed, 13 May 2009 13:02:20 +0000 (+0000) Subject: madwifi: fix distance setting X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=251a657eaf6f421884d8f9deb11bce805fa43b64;p=openwrt%2Fstaging%2Fadrian.git madwifi: fix distance setting SVN-Revision: 15824 --- diff --git a/package/madwifi/files/lib/wifi/madwifi.sh b/package/madwifi/files/lib/wifi/madwifi.sh index 1e5b0db4e9..65f9637217 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