mac80211: disable powersave on the sta by default (for performance reasons)

SVN-Revision: 18379
This commit is contained in:
Felix Fietkau 2009-11-11 16:59:36 +00:00
parent f61d14f781
commit a195852e7f

View File

@ -127,6 +127,9 @@ enable_mac80211() {
local wdsflag
[ "$wds" -gt 0 ] && wdsflag="wds on"
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"
;;
esac