aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2009-11-29 13:56:41 +0000
committerFelix Fietkau <nbd@openwrt.org>2009-11-29 13:56:41 +0000
commitbb652ed5bbeb2209f6f5a34fbd841fb47fb02a3a (patch)
treec7cac9418b1e356513bfcf9d5ea17d44b59df486
parent82a3705ef18003e22894ce5883d2547c224fc9a5 (diff)
downloadupstream-bb652ed5bbeb2209f6f5a34fbd841fb47fb02a3a.tar.gz
upstream-bb652ed5bbeb2209f6f5a34fbd841fb47fb02a3a.tar.bz2
upstream-bb652ed5bbeb2209f6f5a34fbd841fb47fb02a3a.zip
mac80211: fix up wds sta mode after r18591
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18600 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--package/mac80211/files/lib/wifi/mac80211.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/mac80211/files/lib/wifi/mac80211.sh b/package/mac80211/files/lib/wifi/mac80211.sh
index 91fdcf57c2..bc6cc1449a 100644
--- a/package/mac80211/files/lib/wifi/mac80211.sh
+++ b/package/mac80211/files/lib/wifi/mac80211.sh
@@ -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"