mirror of
https://github.com/openwrt/openwrt.git
synced 2025-01-18 10:46:41 +00:00
mac80211: disable powersave on the sta by default (for performance reasons)
SVN-Revision: 18379
This commit is contained in:
parent
f61d14f781
commit
a195852e7f
@ -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…
Reference in New Issue
Block a user