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:
11013ad
)
mac80211: fix powersave setting
author
Felix Fietkau
<nbd@openwrt.org>
Mon, 19 Dec 2011 10:27:28 +0000
(10:27 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Mon, 19 Dec 2011 10:27:28 +0000
(10:27 +0000)
SVN-Revision: 29569
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 11e0b044599c86c075d9dbe0cd0ad5be791913e1..974fe5f994b16317db3b4278d22f057bb4e1bbdd 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 "$ifname" set power_save
off
+ iw "$ifname" set power_save
"$powersave"
;;
esac