summaryrefslogtreecommitdiffstats
path: root/net/mac80211
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2008-10-30 19:50:30 +0200
committerJohn W. Linville <linville@tuxdriver.com>2008-11-10 15:17:40 -0500
commitfbf189273926d83d71c4c321f1215162569506ac (patch)
tree3eeed723dbea11dd78e12206dd980b84c659a0dc /net/mac80211
parentd61272cbb35fa1c08fe94898583d880256f2dbd3 (diff)
downloadop-kernel-dev-fbf189273926d83d71c4c321f1215162569506ac.zip
op-kernel-dev-fbf189273926d83d71c4c321f1215162569506ac.tar.gz
mac80211: Allow AP mode to be enabled
With the addition of basic rate set and TX queue parameter configuration and confirmation that power save buffering is working again, mac80211 is now in state that allows AP mode to be used without major problems. Consequently, it is time to allow this mode to be enabled without having to patch the kernel. AP mode requires hostapd for management frame processing and as such, configuring this mode is only allowed through cfg80211 (not with iwconfig and WEXT). Signed-off-by: Jouni Malinen <jouni.malinen@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211')
-rw-r--r--net/mac80211/cfg.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/mac80211/cfg.c b/net/mac80211/cfg.c
index fe672fa..16423f9 100644
--- a/net/mac80211/cfg.c
+++ b/net/mac80211/cfg.c
@@ -26,6 +26,8 @@ static bool nl80211_type_check(enum nl80211_iftype type)
#ifdef CONFIG_MAC80211_MESH
case NL80211_IFTYPE_MESH_POINT:
#endif
+ case NL80211_IFTYPE_AP:
+ case NL80211_IFTYPE_AP_VLAN:
case NL80211_IFTYPE_WDS:
return true;
default:
OpenPOWER on IntegriCloud