mac80211: fix powersave setting
SVN-Revision: 29569
This commit is contained in:
parent
11013ad947
commit
b62f4e0aa2
1 changed files with 1 additions and 1 deletions
|
@ -363,7 +363,7 @@ enable_mac80211() {
|
||||||
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
|
config_get_bool powersave "$vif" powersave 0
|
||||||
[ "$powersave" -gt 0 ] && powersave="on" || powersave="off"
|
[ "$powersave" -gt 0 ] && powersave="on" || powersave="off"
|
||||||
iw "$ifname" set power_save off
|
iw "$ifname" set power_save "$powersave"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue