wlan: Avoid race condition in SAP mode

There is race condition seen when upper layer sends the deauth
to the STA and at same time STA sends the assocReq frame to SAP.
In this case LIM sends the Assoc indication to SME and wait for
the Assoc cnf. Now SME passes the deauth request to Lim and LIM
deletes this pStaD. When SME sends the assoc Cnf it checks pStaD
as NULL. So LIM and SME are not in sync here.Fix that.

Change-Id: Iae0bec7685a8f1382e4c26a8b969bd9bb87c9ab7
CRs-Fixed: 694099
1 file changed
tree: 705ed5da75e8c0dafb7ddf86b58f6af665442425
  1. CORE/
  2. firmware_bin/
  3. prima/
  4. riva/
  5. Android.mk
  6. Kbuild
  7. Kconfig