mac80211: use iw instead of iwconfig to disable powersave
SVN-Revision: 29565
This commit is contained in:
parent
dd90113508
commit
25540787ad
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||
iwconfig "$ifname" power "$powersave"
|
||||
iw "$ifname" set power_save off
|
||||
;;
|
||||
esac
|
||||
|
||||
|
|
Loading…
Reference in a new issue