]> 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)
commitae017e664f23b5a011583750dcb3e6a649283e53
tree42123adb3efab16b313a22078c832aa83f5f91af
parentbfae01f90cc4efaad4092793366c6dbf1b46d4ee
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