projects
/
openwrt
/
svn-archive
/
archive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f66502
)
add option to shutoff softled
author
Travis Kemen
<thepeople@openwrt.org>
Thu, 25 Sep 2008 19:19:32 +0000
(19:19 +0000)
committer
Travis Kemen
<thepeople@openwrt.org>
Thu, 25 Sep 2008 19:19:32 +0000
(19:19 +0000)
SVN-Revision: 12709
package/madwifi/files/lib/wifi/madwifi.sh
patch
|
blob
|
history
diff --git
a/package/madwifi/files/lib/wifi/madwifi.sh
b/package/madwifi/files/lib/wifi/madwifi.sh
index a3bab5b8f081b4641a4b630d760084f3abaef26f..1f540a0f7e513d957f69c4d0a87d222898e1950b 100755
(executable)
--- 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%%.*}"