mac80211: use iw instead of iwconfig to disable powersave

SVN-Revision: 29565
This commit is contained in:
Felix Fietkau 2011-12-18 22:18:46 +00:00
parent dd90113508
commit 25540787ad

View File

@ -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