wlan: Cleanup ft session when driver receives disconnect from userspace

When FT roaming is in progress to an AP and the supplicant tries
to disconnect and connect to the same AP. In this condition, the
driver lim state is eLIM_SME_WT_REASSOC_STATE as it is trying to
roam. In disconnect path, we return from
__limProcessSmeDisassocReq without sending disconnect if lim
state is eLIM_SME_WT_REASSOC_STATE. The ft session cleanup is
also not done. So when immediately the supplicant tries to
connect to the new AP, it send the add self sta request to
firmware and as the bss entry is already created, firmware
asserts.

Clean up ft session in __limProcessSmeDisassocReq if the lim
state is eLIM_SME_WT_REASSOC_STATE and fallthrough in
__limProcessSmeDisassocReq to proceed with the normal disconnect
path. Then perform connect.

Change-Id: I249d3283af4aac8af79d24e0bc55337a19c5bf3a
CRs-Fixed: 2358068
1 file changed
tree: 186c2a40d52a7420f699176d8ab3c409470eb06a
  1. CORE/
  2. firmware_bin/
  3. riva/
  4. Android.mk
  5. Kbuild
  6. Kconfig
  7. Makefile