diff options
author | Stone Piao <piaoyun@marvell.com> | 2012-09-26 07:23:35 +0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-09-28 21:54:04 +0400 |
commit | 2dbaf751b1dec3a603130a475f94cc4d3f404362 (patch) | |
tree | e308825a97d632f4f5b6a7f3d7cad03bdf8f818c /drivers/net/wireless/mwifiex/uap_txrx.c | |
parent | 3cec68701a104c8aa0b5c38b6bfad4193cdff3fe (diff) | |
download | linux-2dbaf751b1dec3a603130a475f94cc4d3f404362.tar.xz |
mwifiex: report received management frames to cfg80211
Process the management frames received from firmware and report
them to cfg80211.
Signed-off-by: Stone Piao <piaoyun@marvell.com>
Signed-off-by: Kiran Divekar <dkiran@marvell.com>
Signed-off-by: Kevin Gan <ganhy@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/uap_txrx.c')
-rw-r--r-- | drivers/net/wireless/mwifiex/uap_txrx.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/net/wireless/mwifiex/uap_txrx.c b/drivers/net/wireless/mwifiex/uap_txrx.c index df17d08715fe..012c1433d126 100644 --- a/drivers/net/wireless/mwifiex/uap_txrx.c +++ b/drivers/net/wireless/mwifiex/uap_txrx.c @@ -217,6 +217,12 @@ int mwifiex_process_uap_rx_packet(struct mwifiex_adapter *adapter, } return 0; + } else if (rx_pkt_type == PKT_TYPE_MGMT) { + ret = mwifiex_process_mgmt_packet(adapter, skb); + if (ret) + dev_err(adapter->dev, "Rx of mgmt packet failed"); + dev_kfree_skb_any(skb); + return ret; } memcpy(ta, rx_pkt_hdr->eth803_hdr.h_source, ETH_ALEN); |