SAP: Check assocId when call __limProcessSmeDisassocCnf
Test device connect/disconnect to SAP frequently.It will delete
new FT session by mistake if received new assoc request before
delete old session completely. Check assocId when call
__limProcessSmeDisassocCnf.
CRs-Fixed: 924695
Change-Id: Ifee3183f134d848acb175b9e33a1fedb18b2cb6e
diff --git a/CORE/MAC/src/pe/lim/limAssocUtils.c b/CORE/MAC/src/pe/lim/limAssocUtils.c
index e439e90..555c68a 100644
--- a/CORE/MAC/src/pe/lim/limAssocUtils.c
+++ b/CORE/MAC/src/pe/lim/limAssocUtils.c
@@ -842,6 +842,7 @@
(tANI_U8 *) staDsAddr,
sizeof(tSirMacAddr));
mlmDisassocCnf.resultCode = statusCode;
+ mlmDisassocCnf.aid = staDsAssocId;
mlmDisassocCnf.disassocTrigger =
mlmStaContext.cleanupTrigger;
/* Update PE session Id*/
@@ -866,6 +867,7 @@
(tANI_U8 *) staDsAddr,
sizeof(tSirMacAddr));
mlmDeauthCnf.resultCode = statusCode;
+ mlmDeauthCnf.aid = staDsAssocId;
mlmDeauthCnf.deauthTrigger =
mlmStaContext.cleanupTrigger;
/* PE session Id */