Merge "Fix for crash during ApStress on iteration."
diff --git a/CORE/SME/src/csr/csrNeighborRoam.c b/CORE/SME/src/csr/csrNeighborRoam.c
index 9047fe9..529c123 100644
--- a/CORE/SME/src/csr/csrNeighborRoam.c
+++ b/CORE/SME/src/csr/csrNeighborRoam.c
@@ -3997,6 +3997,10 @@
     int  init_ft_flag = FALSE;
 #endif
 
+    if (NULL == pNeighborRoamInfo)
+    {
+        return eHAL_STATUS_FAILURE;
+    }
     smsLog(pMac, LOG2, FL("Connect indication received with session id %d in state %d"), sessionId, pNeighborRoamInfo->neighborRoamState);
 
     // Bail out if this is NOT a STA persona