index
:
openwrt.git
OpenWrt Source Repository
log msg
author
committer
range
feature/odhcpd_odhcp6c_udhcpc-capsdrop
linksys3200ac-master
master
about
summary
refs
log
tree
commit
diff
path:
root
/
package
/
mac80211
/
files
/
lib
/
wifi
/
mac80211.sh
diff options
context:
1
2
3
4
5
6
7
8
9
10
15
20
25
30
35
40
space:
include
ignore
mode:
unified
ssdiff
stat only
author
Felix Fietkau <nbd@openwrt.org>
2011-12-19 10:27:28 +0000
committer
Felix Fietkau <nbd@openwrt.org>
2011-12-19 10:27:28 +0000
commit
b62f4e0aa2a95c0982ba4b7372b98998234611c9
(
patch
)
tree
a0dae5130cf360d5207167c784e30b79b8a4ebc4
/
package/mac80211/files/lib/wifi/mac80211.sh
parent
11013ad94738bd1c7d1e237bc8b2b94928ec52bb
(
diff
)
mac80211: fix powersave setting
SVN-Revision: 29569
Diffstat
(limited to 'package/mac80211/files/lib/wifi/mac80211.sh')
-rw-r--r--
package/mac80211/files/lib/wifi/mac80211.sh
2
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