summaryrefslogtreecommitdiff
path: root/package/mac80211/patches/012-mac80211-allow-wds.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-11-16 03:10:56 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-11-16 03:10:56 +0000
commit67dd9a73dcb62e5b072244dddd7b19d521e20e67 (patch)
tree3d0dbf6e0906fe0c7ef1446c08254effa561a40b /package/mac80211/patches/012-mac80211-allow-wds.patch
parent224760dee7a5f0913d894b7a23cc8d94b353dd70 (diff)
downloadmtk-20170518-67dd9a73dcb62e5b072244dddd7b19d521e20e67.zip
mtk-20170518-67dd9a73dcb62e5b072244dddd7b19d521e20e67.tar.gz
mtk-20170518-67dd9a73dcb62e5b072244dddd7b19d521e20e67.tar.bz2
fix up hostapd for mac80211
SVN-Revision: 9554
Diffstat (limited to 'package/mac80211/patches/012-mac80211-allow-wds.patch')
-rw-r--r--package/mac80211/patches/012-mac80211-allow-wds.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/package/mac80211/patches/012-mac80211-allow-wds.patch b/package/mac80211/patches/012-mac80211-allow-wds.patch
new file mode 100644
index 0000000..d5c57cd
--- /dev/null
+++ b/package/mac80211/patches/012-mac80211-allow-wds.patch
@@ -0,0 +1,22 @@
+Subject: mac80211: allow WDS mode
+
+This allows creating interfaces in WDS mode or switching
+existing ones into WDS mode (both via cfg80211.)
+
+Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
+
+---
+ net/mac80211/cfg.c | 2 ++
+ 1 file changed, 2 insertions(+)
+
+--- everything.orig/net/mac80211/cfg.c 2007-11-07 13:19:27.981515569 +0100
++++ everything/net/mac80211/cfg.c 2007-11-07 13:19:29.441515732 +0100
+@@ -29,6 +29,8 @@ nl80211_type_to_mac80211_type(enum nl802
+ return IEEE80211_IF_TYPE_AP;
+ case NL80211_IFTYPE_AP_VLAN:
+ return IEEE80211_IF_TYPE_VLAN;
++ case NL80211_IFTYPE_WDS:
++ return IEEE80211_IF_TYPE_WDS;
+ default:
+ return IEEE80211_IF_TYPE_INVALID;
+ }