From 25540787ad1d33e044c4dd3ad67c2c64c6434a9c Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sun, 18 Dec 2011 22:18:46 +0000 Subject: [PATCH] mac80211: use iw instead of iwconfig to disable powersave SVN-Revision: 29565 --- package/mac80211/files/lib/wifi/mac80211.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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