mwifiex: fix for p2p broken link
authorAniket Nagarnaik <aniketn@marvell.com>
Thu, 2 Jul 2015 13:07:02 +0000 (06:07 -0700)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 21 Jul 2015 13:57:20 +0000 (16:57 +0300)
commitae86c587b5b53da4f7859f236f6c22ff9941cff9
treea790ebafdb2c678ff289bdd9d2d89d1e1e78c080
parente60ac9c7a4c8776b2503892dfd01f1b4d651245d
mwifiex: fix for p2p broken link

This patch fixes following issues in p2p code paths.

1) bss role, bss type and connection type was not set correctly
for p2p GO and p2p client at couple of places.
2) Driver appends a proprietary header to management frames
which will be parsed by our firmware. Later while informing
TX status to cfg80211, modified frame buffer was passed to
cfg80211_mgmt_tx_status() instead of original one.

Signed-off-by: Aniket Nagarnaik <aniketn@marvell.com>
Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/mwifiex/cfg80211.c
drivers/net/wireless/mwifiex/sta_cmd.c
drivers/net/wireless/mwifiex/txrx.c