summaryrefslogtreecommitdiff
path: root/lib/mpi/mpiutil.c
diff options
context:
space:
mode:
authorAbhinav Kumar <abhikuma@codeaurora.org>2020-03-05 15:02:30 +0530
committerAbhinav Kumar <abhikuma@codeaurora.org>2020-03-05 15:23:59 +0530
commit74a8fc773ef83b8446717abb2649126c4b3957ec (patch)
tree6c641d3695a5134985ae1def7af9b0cb571a9bf0 /lib/mpi/mpiutil.c
parent880be8ec67d5c619a0c7fa765b84bcc5060daa14 (diff)
qcacld-3.0: Fix race between wpa_supplicant and scheduler_thread
Driver receives roam invoke command from supplicant, Host start processing it in wpa_supplicant thread and sends ROAM_INVOKE command to firmware. FW indicates roam invoke failure, so host clean up the AP (Disconnect). But wpa_supplicant did not get scheduled till disconnection completion. After disconnection, wpa_supplicant thread gets resume and sets the roaming in progress true. This results in roaming in progress remain set in a disconnection state. sme_fast_reassoc should be protected with sme lock to avoid the race between SB disconnect and sme_fast_reassoc. Fix is to protect sme_fast_reassoc with sme lock and set roaming in progress flag before sending sme_fast_reassoc command to FW and reset it again if sme_fast_reassoc fail to initiate the roam invoke. Change-Id: I05d92f8d5916decbd2c6f99eb67da0a29525ead5 CRs-Fixed: 2608398
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions