]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
mwifiex: fix p2p device doesn't find in scan problem
authorKarthik D A <karthida@marvell.com>
Wed, 28 Sep 2016 12:48:28 +0000 (18:18 +0530)
committerKalle Valo <kvalo@codeaurora.org>
Wed, 9 Nov 2016 01:33:27 +0000 (03:33 +0200)
commit3d8bd85c2c9e47ed2c82348aa5b6029ed48376ae
tree7c3a41b937b54f531d4434361711908eebce2419
parent49abe5c83cd066f34f308d8c9e8abff7c2fb5d64
mwifiex: fix p2p device doesn't find in scan problem

Marvell p2p device disappears from the list of p2p peers on the other
p2p device after disconnection.

It happens due to a bug in driver. When interface is changed from p2p
to station, certain variables(bss_type, bss_role etc.) aren't correctly
updated. This patch corrects them to fix the issue.

Signed-off-by: Karthik D A <karthida@marvell.com>
Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/marvell/mwifiex/cfg80211.c