diff options
author | thepeople <thepeople@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2008-09-25 19:19:32 +0000 |
---|---|---|
committer | thepeople <thepeople@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2008-09-25 19:19:32 +0000 |
commit | 722aace7b99580d37e3237a661bd12a063077744 (patch) | |
tree | 471bb4441a758313e4bb7ed093cea2550df42461 /package/madwifi/files/lib | |
parent | 646e591ff8482080562bdc8f027007c90bdc7cb4 (diff) |
add option to shutoff softled
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12709 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/madwifi/files/lib')
-rwxr-xr-x | package/madwifi/files/lib/wifi/madwifi.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/package/madwifi/files/lib/wifi/madwifi.sh b/package/madwifi/files/lib/wifi/madwifi.sh index a3bab5b8f0..1f540a0f7e 100755 --- a/package/madwifi/files/lib/wifi/madwifi.sh +++ b/package/madwifi/files/lib/wifi/madwifi.sh @@ -182,6 +182,9 @@ enable_atheros() { config_get distance "$device" distance [ -n "$distance" ] && athctrl -i "$device" -d "$distance" >&- + config_get_bool softled "$device" softled 1 + [ -n "$softled" ] && sysctl -w dev."$device".softled="$softled" >&- + config_get txpwr "$vif" txpower [ -n "$txpwr" ] && iwconfig "$ifname" txpower "${txpwr%%.*}" |