Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2b34dca2 authored by Abhishek Singh's avatar Abhishek Singh
Browse files

wlan: Remove eCsrSmeIssuedDisassocForHandoff active command

If get scan result fails for eCsrSmeIssuedDisassocForHandoff
roam command is not removed as the
eCSR_ROAM_SUBSTATE_DISASSOC_REASSOC_FAILURE is dropped in LIM.

Fix is to send resp from lim in failure case.

Change-Id: Id278898186051a0262f0a903ec3ee726e67bcf6f
CRs-Fixed: 2644511
parent 926f70d3
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -2677,10 +2677,16 @@ __limProcessSmeDisassocReq(tpAniSirGlobal pMac, tANI_U32 *pMsgBuf)
		 * and lim state is eLIM_SME_WT_REASSOC_STATE. As the
		 * FT session would have already created but is not cleaned.
		 * This will prevent sending duplicate add bss request,
		 * if we try to disconnect and connect to the same AP
		 * if we try to disconnect and connect to the same AP.
		 * As limFTCleanup delete pesession, send resp back to csr
		 * from here.
		 */
		case eLIM_SME_WT_REASSOC_STATE:
			limLog(pMac, LOG1, FL("Rcvd SME_DISASSOC_REQ while in "
			      "limSmeState: %d "),psessionEntry->limSmeState);
			limFTCleanup(pMac);
			disassocTrigger = eLIM_HOST_DISASSOC;
			goto sendDisassoc;
			/* Fall through */
                case eLIM_SME_ASSOCIATED_STATE:
                case eLIM_SME_LINK_EST_STATE: