summaryrefslogtreecommitdiffstats
path: root/package/mac80211/files
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-12-18 22:18:46 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-12-18 22:18:46 +0000
commitb156662f7a006c206c03c7c311ac8e55427a6889 (patch)
treec46012988efcf9eb2156ee512028f9d3a0cee2f6 /package/mac80211/files
parentd1dc8042291e8eb0f23f244d920ba196fb120e3d (diff)
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/mac80211/files')
-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 738c2aa41..7a4e29d0f 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