aboutsummaryrefslogtreecommitdiffstats
path: root/package/mac80211
diff options
context:
space:
mode:
authorMichael Büsch <mb@bu3sch.de>2008-02-16 19:21:08 +0000
committerMichael Büsch <mb@bu3sch.de>2008-02-16 19:21:08 +0000
commitc77dfdeedd9e70b9b7397edf9cd1da786251000b (patch)
tree24fe5d0afc3ba3d762f99a2fcf0f71275f7fa841 /package/mac80211
parent5fc0f1831613a0166a93b7b8701b19617fbc3b34 (diff)
downloadupstream-c77dfdeedd9e70b9b7397edf9cd1da786251000b.tar.gz
upstream-c77dfdeedd9e70b9b7397edf9cd1da786251000b.tar.bz2
upstream-c77dfdeedd9e70b9b7397edf9cd1da786251000b.zip
mac80211: allow AP and VLAN modes
SVN-Revision: 10471
Diffstat (limited to 'package/mac80211')
-rw-r--r--package/mac80211/patches/002-mac80211-allow-ap-vlan-modes.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/package/mac80211/patches/002-mac80211-allow-ap-vlan-modes.patch b/package/mac80211/patches/002-mac80211-allow-ap-vlan-modes.patch
new file mode 100644
index 0000000000..eb40dae1f9
--- /dev/null
+++ b/package/mac80211/patches/002-mac80211-allow-ap-vlan-modes.patch
@@ -0,0 +1,25 @@
+Subject: mac80211: allow AP and VLAN modes
+
+This adds AP/VLAN modes to the list of modes that a mac80211
+interface can be created in/switched into.
+
+Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
+---
+ net/mac80211/cfg.c | 4 ++++
+ 1 file changed, 4 insertions(+)
+
+Index: mac80211/net/mac80211/cfg.c
+===================================================================
+--- mac80211.orig/net/mac80211/cfg.c 2008-02-16 20:16:09.000000000 +0100
++++ mac80211/net/mac80211/cfg.c 2008-02-16 20:16:39.000000000 +0100
+@@ -27,6 +27,10 @@ nl80211_type_to_mac80211_type(enum nl802
+ return IEEE80211_IF_TYPE_STA;
+ case NL80211_IFTYPE_MONITOR:
+ return IEEE80211_IF_TYPE_MNTR;
++ case NL80211_IFTYPE_AP:
++ return IEEE80211_IF_TYPE_AP;
++ case NL80211_IFTYPE_AP_VLAN:
++ return IEEE80211_IF_TYPE_VLAN;
+ default:
+ return IEEE80211_IF_TYPE_INVALID;
+ }