mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
mac80211: fix up wds sta mode after r18591
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18600 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -125,7 +125,7 @@ enable_mac80211() {
|
|||||||
;;
|
;;
|
||||||
sta)
|
sta)
|
||||||
local wdsflag
|
local wdsflag
|
||||||
[ "$wds" -gt 0 ] && wdsflag="wds on"
|
[ "$wds" -gt 0 ] && wdsflag="4addr 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
|
config_get_bool powersave "$vif" powersave 0
|
||||||
[ "$powersave" -gt 0 ] && powersave="on" || powersave="off"
|
[ "$powersave" -gt 0 ] && powersave="on" || powersave="off"
|
||||||
|
|||||||
Reference in New Issue
Block a user