aboutsummaryrefslogtreecommitdiffstats
path: root/package/mac80211/files/lib/wifi
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-12-18 22:18:46 +0000
committerFelix Fietkau <nbd@openwrt.org>2011-12-18 22:18:46 +0000
commit25540787ad1d33e044c4dd3ad67c2c64c6434a9c (patch)
treeee33dff313e683b67918d72e76dafbaa79ad0e3e /package/mac80211/files/lib/wifi
parentdd90113508494665725d44744ac94dd3c976d20a (diff)
downloadupstream-25540787ad1d33e044c4dd3ad67c2c64c6434a9c.tar.gz
upstream-25540787ad1d33e044c4dd3ad67c2c64c6434a9c.tar.bz2
upstream-25540787ad1d33e044c4dd3ad67c2c64c6434a9c.zip
mac80211: use iw instead of iwconfig to disable powersave
SVN-Revision: 29565
Diffstat (limited to 'package/mac80211/files/lib/wifi')
-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 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