aboutsummaryrefslogtreecommitdiffstats
path: root/package/mac80211/files
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-12-19 10:27:28 +0000
committerFelix Fietkau <nbd@openwrt.org>2011-12-19 10:27:28 +0000
commit69a1e0d185981339cee7ad464e48cee5f328a9a8 (patch)
treec7fd727fdb5290416e373ab421ee1bae4f9612f2 /package/mac80211/files
parent7e96983fe143be1bf34827ae4f7257ccd991fe12 (diff)
downloadupstream-69a1e0d185981339cee7ad464e48cee5f328a9a8.tar.gz
upstream-69a1e0d185981339cee7ad464e48cee5f328a9a8.tar.bz2
upstream-69a1e0d185981339cee7ad464e48cee5f328a9a8.zip
mac80211: fix powersave setting
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29569 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/mac80211/files')
-rw-r--r--package/mac80211/files/lib/wifi/mac80211.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/mac80211/files/lib/wifi/mac80211.sh b/package/mac80211/files/lib/wifi/mac80211.sh
index 11e0b04459..974fe5f994 100644
--- 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