wlan: Provide proper size for vos_mem_set

Provide size of a buffer to vos_mem_set function
instead of providing size of a pointer to initialize
buffer content to zero.

CRs-fixed: 973353
Change-Id: I46c6765dd913ec95edc9a2b2ef6f68f04db2da5b
diff --git a/CORE/MAC/src/pe/lim/limApi.c b/CORE/MAC/src/pe/lim/limApi.c
index 911441d..c74a66a 100644
--- a/CORE/MAC/src/pe/lim/limApi.c
+++ b/CORE/MAC/src/pe/lim/limApi.c
@@ -2339,7 +2339,7 @@
     }
 
     pSirSmeMicFailureInd->messageType = eWNI_SME_MIC_FAILURE_IND;
-    pSirSmeMicFailureInd->length = sizeof(pSirSmeMicFailureInd);
+    pSirSmeMicFailureInd->length = sizeof(*pSirSmeMicFailureInd);
     pSirSmeMicFailureInd->sessionId = psessionEntry->smeSessionId;
 
     vos_mem_copy(pSirSmeMicFailureInd->bssId,