projects
/
oweals
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dd90113
)
mac80211: use iw instead of iwconfig to disable powersave
author
Felix Fietkau
<nbd@openwrt.org>
Sun, 18 Dec 2011 22:18:46 +0000
(22:18 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Sun, 18 Dec 2011 22:18:46 +0000
(22:18 +0000)
SVN-Revision: 29565
package/mac80211/files/lib/wifi/mac80211.sh
patch
|
blob
|
history
diff --git
a/package/mac80211/files/lib/wifi/mac80211.sh
b/package/mac80211/files/lib/wifi/mac80211.sh
index 738c2aa412453a43b8c84567bc93c0c6fd6c0400..7a4e29d0f7fa109da196523d4a30cea9028586bc 100644
(file)
--- a/
package/mac80211/files/lib/wifi/mac80211.sh
+++ b/
package/mac80211/files/lib/wifi/mac80211.sh
@@
-363,7
+363,7
@@
enable_mac80211() {
iw phy "$phy" interface add "$ifname" type managed $wdsflag
config_get_bool powersave "$vif" powersave 0
[ "$powersave" -gt 0 ] && powersave="on" || powersave="off"
- iw
config "$ifname" power "$powersave"
+ iw
"$ifname" set power_save off
;;
esac