mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-19 21:58:04 +00:00
mac80211: fix powersave setting
SVN-Revision: 29569
This commit is contained in:
parent
11013ad947
commit
b62f4e0aa2
@ -363,7 +363,7 @@ enable_mac80211() {
|
||||
iw phy "$phy" interface add "$ifname" type managed $wdsflag
|
||||
config_get_bool powersave "$vif" powersave 0
|
||||
[ "$powersave" -gt 0 ] && powersave="on" || powersave="off"
|
||||
iw "$ifname" set power_save off
|
||||
iw "$ifname" set power_save "$powersave"
|
||||
;;
|
||||
esac
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user