]> git.baikalelectronics.ru Git - kernel.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)
commitb257352abef8056dd5474474640149c8f52fb8c6
tree7c3a41b937b54f531d4434361711908eebce2419
parent7d035b9ac738f953f00fdd7bbbd88c8b23d23731
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