aboutsummaryrefslogtreecommitdiffstats
path: root/package
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
commite807bd08704ed0d155bf2a5ead8003e2aa63d748 (patch)
treec46012988efcf9eb2156ee512028f9d3a0cee2f6 /package
parent112924dd6429e27b461a7e769c1f61a7669856b4 (diff)
downloadupstream-e807bd08704ed0d155bf2a5ead8003e2aa63d748.tar.gz
upstream-e807bd08704ed0d155bf2a5ead8003e2aa63d748.tar.bz2
upstream-e807bd08704ed0d155bf2a5ead8003e2aa63d748.zip
mac80211: use iw instead of iwconfig to disable powersave
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29565 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-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