Make b43 back again available for brcm47xx (#4237)
[openwrt.git] / package / mac80211 / patches-old / 004-allow-ap-vlan-modes.patch
1 Subject: mac80211: allow AP and VLAN modes
2
3 This patch allows switching interfaces into AP/VLAN modes using
4 cfg80211 (nl80211). Don't allow doing it with wext because then
5 people will just attempt to do it manually (without hostapd) and
6 complain that it doesn't work.
7
8 Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
9 ---
10 net/mac80211/cfg.c | 4 ++++
11 1 file changed, 4 insertions(+)
12
13 --- everything.orig/net/mac80211/cfg.c 2008-08-06 21:38:13.000000000 +0200
14 +++ everything/net/mac80211/cfg.c 2008-08-06 21:38:24.000000000 +0200
15 @@ -33,6 +33,10 @@ nl80211_type_to_mac80211_type(enum nl802
16 case NL80211_IFTYPE_MESH_POINT:
17 return IEEE80211_IF_TYPE_MESH_POINT;
18 #endif
19 + case NL80211_IFTYPE_AP:
20 + return IEEE80211_IF_TYPE_AP;
21 + case NL80211_IFTYPE_AP_VLAN:
22 + return IEEE80211_IF_TYPE_VLAN;
23 case NL80211_IFTYPE_WDS:
24 return IEEE80211_IF_TYPE_WDS;
25 default:
This page took 0.047641 seconds and 5 git commands to generate.