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
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-18 22:18:46 +0000
committer
Felix Fietkau <nbd@openwrt.org>
2011-12-18 22:18:46 +0000
commit
25540787ad1d33e044c4dd3ad67c2c64c6434a9c
(
patch
)
tree
ee33dff313e683b67918d72e76dafbaa79ad0e3e
/
package/mac80211/files/lib
parent
dd90113508494665725d44744ac94dd3c976d20a
(
diff
)
mac80211: use iw instead of iwconfig to disable powersave
SVN-Revision: 29565
Diffstat
(limited to 'package/mac80211/files/lib')
-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 738c2aa412..7a4e29d0f7 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"
- iwconfig "$ifname" power "$powersave"
+ iw "$ifname" set power_save off
;;
esac