mac80211: fix up wds sta mode after r18591

SVN-Revision: 18600
owl
Felix Fietkau 2009-11-29 13:56:41 +00:00
parent cb85dcb1a8
commit 7d599ee46c
1 changed files with 1 additions and 1 deletions

View File

@ -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"