mac80211: fix powersave setting

SVN-Revision: 29569
This commit is contained in:
Felix Fietkau 2011-12-19 10:27:28 +00:00
parent 11013ad947
commit b62f4e0aa2

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"
iw "$ifname" set power_save off
iw "$ifname" set power_save "$powersave"
;;
esac