diff options
author | Stone Piao <piaoyun@marvell.com> | 2012-09-25 23:23:35 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-09-28 13:54:04 -0400 |
commit | 2dbaf751b1dec3a603130a475f94cc4d3f404362 (patch) | |
tree | e308825a97d632f4f5b6a7f3d7cad03bdf8f818c /drivers/net/wireless/mwifiex/sta_rx.c | |
parent | 3cec68701a104c8aa0b5c38b6bfad4193cdff3fe (diff) |
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/sta_rx.c')
-rw-r--r-- | drivers/net/wireless/mwifiex/sta_rx.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/net/wireless/mwifiex/sta_rx.c b/drivers/net/wireless/mwifiex/sta_rx.c index d91d5c08c73a..07d32b73783e 100644 --- a/drivers/net/wireless/mwifiex/sta_rx.c +++ b/drivers/net/wireless/mwifiex/sta_rx.c | |||
@@ -174,6 +174,12 @@ int mwifiex_process_sta_rx_packet(struct mwifiex_adapter *adapter, | |||
174 | dev_err(adapter->dev, "Rx of A-MSDU failed"); | 174 | dev_err(adapter->dev, "Rx of A-MSDU failed"); |
175 | } | 175 | } |
176 | return 0; | 176 | return 0; |
177 | } else if (rx_pkt_type == PKT_TYPE_MGMT) { | ||
178 | ret = mwifiex_process_mgmt_packet(adapter, skb); | ||
179 | if (ret) | ||
180 | dev_err(adapter->dev, "Rx of mgmt packet failed"); | ||
181 | dev_kfree_skb_any(skb); | ||
182 | return ret; | ||
177 | } | 183 | } |
178 | 184 | ||
179 | /* | 185 | /* |