]> git.proxmox.com Git - mirror_ubuntu-zesty-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)
committerKamal Mostafa <kamal@canonical.com>
Fri, 10 Jun 2016 13:32:25 +0000 (06:32 -0700)
commit54bebe6013cc3e3df45af75420cf9c5c660adf1e
treea9cc2e17aefcd71b79eee25b84ae24bf2a12d3be
parentee78afcc7280e0f4fb9fe28627004bb57453ec10
mwifiex: handle start AP error paths correctly

BugLink: https://launchpad.net/bugs/1528910
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>
(cherry picked from commit d2b0c735ebac0f0d9746305b40806693d3092f57)
Signed-off-by: Wen-chien Jesse Sung <jesse.sung@canonical.com>
Reviewed-By: AceLan Kao <acelan.kao@canonical.com>
Acked-by: Tim Gardner <tim.gardner@canonical.com>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
drivers/net/wireless/mwifiex/ie.c
drivers/net/wireless/mwifiex/uap_cmd.c