diff options
author | Travis Kemen <thepeople@openwrt.org> | 2008-09-25 19:19:32 +0000 |
---|---|---|
committer | Travis Kemen <thepeople@openwrt.org> | 2008-09-25 19:19:32 +0000 |
commit | 4a580a5d1d010d02ba9fb4e33c63c978f4d8ccd9 (patch) | |
tree | 471bb4441a758313e4bb7ed093cea2550df42461 /package/madwifi/files/lib/wifi/madwifi.sh | |
parent | 6eee1adfd4b8a8e448cb6f7c55843f4517593f34 (diff) | |
download | upstream-4a580a5d1d010d02ba9fb4e33c63c978f4d8ccd9.tar.gz upstream-4a580a5d1d010d02ba9fb4e33c63c978f4d8ccd9.tar.bz2 upstream-4a580a5d1d010d02ba9fb4e33c63c978f4d8ccd9.zip |
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/wifi/madwifi.sh')
-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%%.*}" |