]> git.baikalelectronics.ru Git - kernel.git/commit
mwifiex: parse adhoc start/join result
authorAmitkumar Karwar <akarwar@marvell.com>
Fri, 4 Dec 2015 14:13:02 +0000 (06:13 -0800)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 11 Dec 2015 11:24:10 +0000 (13:24 +0200)
commit8d429200c1364e1ae77d13d78fae7f241161f3df
tree804baaac626d0815af7b188584aac841dec616c4
parent19c3e15bf0961d2a69a796291d9e6729261ace12
mwifiex: parse adhoc start/join result

Even if ADHOC start or join attempt is failed, these commands
are returned with success status by firmware. Actual connection
result is provided inside command response.

This patch parses the adhoc connection result and resets
connection state variables if connection is not successful.

Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Cathy Luo <cluo@marvell.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/marvell/mwifiex/fw.h
drivers/net/wireless/marvell/mwifiex/join.c