mirror of
https://github.com/openwrt/openwrt.git
synced 2025-02-07 11:30:37 +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
|
local wdsflag
|
||||||
[ "$wds" -gt 0 ] && wdsflag="wds on"
|
[ "$wds" -gt 0 ] && wdsflag="wds on"
|
||||||
iw phy "$phy" interface add "$ifname" type managed $wdsflag
|
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
|
esac
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user