From c9a1f8fd98c8bb459c752f870b612112dbc503df Mon Sep 17 00:00:00 2001 From: nbd Date: Mon, 19 Dec 2011 10:27:28 +0000 Subject: mac80211: fix powersave setting git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29569 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/mac80211/files/lib/wifi/mac80211.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/mac80211/files/lib/wifi/mac80211.sh b/package/mac80211/files/lib/wifi/mac80211.sh index 11e0b0445..974fe5f99 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 -- cgit v1.2.3