summaryrefslogtreecommitdiff
path: root/package
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
commit7d599ee46ce3ea41eb49e8385ff921c1933dfa52 (patch)
tree0bf18f5e8d58b6c0c17ec808ec5a97eb95ddb3ef /package
parentcb85dcb1a8fd1c63e680b3fa0a768b017081af20 (diff)
downloadmtk-20170518-7d599ee46ce3ea41eb49e8385ff921c1933dfa52.zip
mtk-20170518-7d599ee46ce3ea41eb49e8385ff921c1933dfa52.tar.gz
mtk-20170518-7d599ee46ce3ea41eb49e8385ff921c1933dfa52.tar.bz2
mac80211: fix up wds sta mode after r18591
SVN-Revision: 18600
Diffstat (limited to 'package')
-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 91fdcf5..bc6cc14 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"