diff options
author | Avinash Patil | 2012-05-09 03:30:25 +0200 |
---|---|---|
committer | John W. Linville | 2012-05-16 18:46:36 +0200 |
commit | e568634ae7ac379661c90731d480e067929420a1 (patch) | |
tree | 55f02f61eaf97c6e514304d9e0b5e3cee61bb0fd /drivers/net/wireless/mwifiex/cfg80211.c | |
parent | mwifiex: add cfg80211 start_ap and stop_ap handlers (diff) | |
download | kernel-qcow2-linux-e568634ae7ac379661c90731d480e067929420a1.tar.gz kernel-qcow2-linux-e568634ae7ac379661c90731d480e067929420a1.tar.xz kernel-qcow2-linux-e568634ae7ac379661c90731d480e067929420a1.zip |
mwifiex: add AP event handling framework
Added logic to handle AP event that are generated
by the firmware. As MLME/SME is implemented in the
firmware, events such as station association and
deauthentication, must be sent to userspace (hostapd)
for creating and deleting station database.
Signed-off-by: Avinash Patil <patila@marvell.com>
Signed-off-by: Yogesh Powar <yogeshp@marvell.com>
Signed-off-by: Kiran Divekar <dkiran@marvell.com>
Signed-off-by: Bing Zhao <bzhao@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/mwifiex/cfg80211.c')
-rw-r--r-- | drivers/net/wireless/mwifiex/cfg80211.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/net/wireless/mwifiex/cfg80211.c b/drivers/net/wireless/mwifiex/cfg80211.c index 8ae9b6821319..e7882e56950d 100644 --- a/drivers/net/wireless/mwifiex/cfg80211.c +++ b/drivers/net/wireless/mwifiex/cfg80211.c @@ -1237,6 +1237,11 @@ mwifiex_cfg80211_connect(struct wiphy *wiphy, struct net_device *dev, goto done; } + if (priv->bss_mode == NL80211_IFTYPE_AP) { + wiphy_err(wiphy, "skip association request for AP interface\n"); + goto done; + } + wiphy_dbg(wiphy, "info: Trying to associate to %s and bssid %pM\n", (char *) sme->ssid, sme->bssid); |