mac80211: fix up wds sta mode after r18591
authorFelix Fietkau <nbd@openwrt.org>
Sun, 29 Nov 2009 13:56:41 +0000 (13:56 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sun, 29 Nov 2009 13:56:41 +0000 (13:56 +0000)
SVN-Revision: 18600

package/mac80211/files/lib/wifi/mac80211.sh

index 91fdcf57c2f0f832fd98c517be60d11b245e35e0..bc6cc1449a441385292767033e95fafdb7ee6b63 100644 (file)
@@ -125,7 +125,7 @@ enable_mac80211() {
                        ;;
                        sta)
                                local wdsflag
-                               [ "$wds" -gt 0 ] && wdsflag="wds on"
+                               [ "$wds" -gt 0 ] && wdsflag="4addr on"
                                iw phy "$phy" interface add "$ifname" type managed $wdsflag
                                config_get_bool powersave "$vif" powersave 0
                                [ "$powersave" -gt 0 ] && powersave="on" || powersave="off"