diff options
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 | |
parent | dd90113508494665725d44744ac94dd3c976d20a (diff) | |
download | upstream-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')
-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 |