]> git.baikalelectronics.ru Git - kernel.git/commit
mwifiex: handle start AP error paths correctly
authorAmitkumar Karwar <akarwar@marvell.com>
Fri, 4 Dec 2015 14:13:03 +0000 (06:13 -0800)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 11 Dec 2015 11:24:11 +0000 (13:24 +0200)
commit8cc1e195cd34176b7899e9b0a8328d84868b3649
tree42123adb3efab16b313a22078c832aa83f5f91af
parent8d429200c1364e1ae77d13d78fae7f241161f3df
mwifiex: handle start AP error paths correctly

It's been observed that even if firmware returns an error
for a configuration command, we go ahead and start AP.

This patch changes the command type from async to sync
so that threads waits for command response and return
failure start AP.

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/ie.c
drivers/net/wireless/marvell/mwifiex/uap_cmd.c