qcacld-3.0: Wait for vdev stop rsp before next connect

qcacld3.0-1.1 to qcacld3.0-2.0 propagation

As part of connect, when Probe resp/beacon from AP is not received,
vdev stop is sent to firmware. PE session is deleted and join rsp
is sent to sme after posting vdev stop command without waiting for
vdev stop response from firmware. SME will try to connect to next
BSS and host sends create peer to firmware. Firmware is not yet
done with vdev stop and panics.

To fix this, add callback function in lim_set_link_state to inform
when vdev stop resp from firmware is received. Upon reception of
this do the PE session clean up and send join resp to SME.

Change-Id: I43665f14736472da8da70b9c87361be769de7fac
CRs-Fixed: 1112551
2 files changed
tree: d9bddb6aea14eb88e7c07a7cb13fc9ad11091a80
  1. core/
  2. uapi/
  3. Android.mk
  4. Kbuild
  5. Kconfig
  6. Makefile
  7. README.txt