mwifiex: correct p2p and station interface counters
authorAniket Nagarnaik <aniketn@marvell.com>
Thu, 16 Jul 2015 15:48:43 +0000 (08:48 -0700)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 21 Jul 2015 15:09:53 +0000 (18:09 +0300)
While changing interface type from p2p client or p2p go to
station, we should update counters for p2p interface and
station interface. Also calling mwifiex_cfg80211_deinit_p2p
method instead of mwifiex_cfg80211_init_p2p_client method to
deinit p2p interface.

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