wlan: Parsing the Multicast and Unicast encryption types correctly
Multicast and unicast encryption types being swapped
when being passed from CSR to LIM
Change-Id: I6de8d6b6324381548f6a1d1d72f4ca17179a593b
CRs-Fixed: 466231
diff --git a/CORE/MAC/src/pe/lim/limSerDesUtils.c b/CORE/MAC/src/pe/lim/limSerDesUtils.c
index 3002211..59bc3af 100644
--- a/CORE/MAC/src/pe/lim/limSerDesUtils.c
+++ b/CORE/MAC/src/pe/lim/limSerDesUtils.c
@@ -1073,13 +1073,13 @@
return eSIR_FAILURE;
}
- pJoinReq->MCEncryptionType = limGetU32(pBuf);
+ pJoinReq->UCEncryptionType = limGetU32(pBuf);
pBuf += sizeof(tANI_U32);
len -= sizeof(tANI_U32);
if (limCheckRemainingLength(pMac, len) == eSIR_FAILURE)
return eSIR_FAILURE;
- pJoinReq->UCEncryptionType = limGetU32(pBuf);
+ pJoinReq->MCEncryptionType = limGetU32(pBuf);
pBuf += sizeof(tANI_U32);
len -= sizeof(tANI_U32);
if (limCheckRemainingLength(pMac, len) == eSIR_FAILURE)