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

SVN-Revision: 18379
master
Felix Fietkau 15 years ago
parent f61d14f781
commit a195852e7f
  1. 3
      package/mac80211/files/lib/wifi/mac80211.sh

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

Loading…
Cancel
Save