mwifiex: add tx info to skb when forming mgmt frame
authorHuawei Yang <harvey.huawei.yang@gmail.com>
Tue, 23 Jul 2013 02:17:42 +0000 (19:17 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 24 Jul 2013 15:02:05 +0000 (11:02 -0400)
commit231d83e29e44e39d987ea4c33caf7869cf5ef4c7
treebc9d18f3a9d4d63afe1adfc61cf6f4eb2bdadb09
parent61c873045f74b16317c88e2931637329a6844564
mwifiex: add tx info to skb when forming mgmt frame

In function 'mwifiex_write_data_complete' it need tx info to find
the mwifiex_private to updates statistics and wake up tx queues.
Or we may trigger tx queues timeout when transmitting lots of mgmt
frames.

Signed-off-by: Huawei Yang <harvey.huawei.yang@gmail.com>
Signed-off-by: Stone Piao <piaoyun@marvell.com>
Signed-off-by: Bing Zhao <bzhao@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/mwifiex/cfg80211.c