wlan: Kernel crash from freeing bss list
Data abort while traversing bss link list as next pointer is
NULL.Therfore we should reset ''pMac->ft.ftPEContext.pFTPreAuthReq' to
NULL, causing the FT session object not to
be checked for freeing in 'limFTCleanup'
Change-Id: I70eba6f1619f2d51bddf248f9ecf7a741586bf30
CR-Fixed: 436485
diff --git a/CORE/MAC/src/pe/lim/limFT.c b/CORE/MAC/src/pe/lim/limFT.c
index f30827e..0498efb 100644
--- a/CORE/MAC/src/pe/lim/limFT.c
+++ b/CORE/MAC/src/pe/lim/limFT.c
@@ -278,7 +278,8 @@
__func__);)
limPrintMacAddr( pMac, pMac->ft.ftPEContext.pFTPreAuthReq->currbssId, LOGE );
// Post the FT Pre Auth Response to SME
- limPostFTPreAuthRsp(pMac, eSIR_FAILURE, NULL, 0, NULL);
+ limPostFTPreAuthRsp(pMac, eSIR_FAILURE, NULL, 0, NULL);
+ pMac->ft.ftPEContext.pFTPreAuthReq = NULL;
return TRUE;
}