mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-24 19:19:52 +02:00
mac80211: disable powersave on the sta by default (for performance reasons)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18379 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
26b8a4b21c
commit
b87aea7e75
@ -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