Skip to content
Snippets Groups Projects
Commit a195852e authored by Felix Fietkau's avatar Felix Fietkau
Browse files

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

SVN-Revision: 18379
parent f61d14f7
No related branches found
No related tags found
No related merge requests found
...@@ -127,6 +127,9 @@ enable_mac80211() { ...@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment