mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-24 03:01:55 +02:00
mac80211: fix powersave setting
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29569 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
eaf9c95caf
commit
c9a1f8fd98
@ -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 New Issue
Block a user