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)
commitd5556e87610e45e586b1bdf6653920b543083653
tree804baaac626d0815af7b188584aac841dec616c4
parentbd9a212bab3db65baff094fe811ef1b593faca2a
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