wlan: Save gEnableRoamDelayStats ini in MAC and SME context

Save the value of gEnableRoamDelayStats ini in MAC and
SME context and check the value before capturing the
timestamps at various stages

Change-Id: I8e1423fc6bf4a049159765f06fbf5f49526f0d99
CRs-Fixed: 785761
diff --git a/CORE/MAC/src/pe/lim/limFT.c b/CORE/MAC/src/pe/lim/limFT.c
index 735f04c..70685b5 100644
--- a/CORE/MAC/src/pe/lim/limFT.c
+++ b/CORE/MAC/src/pe/lim/limFT.c
@@ -1336,7 +1336,10 @@
     // Dont need this anymore
     pMac->ft.ftPEContext.pAddBssReq = NULL;
 #ifdef DEBUG_ROAM_DELAY
-    vos_record_roam_event(e_LIM_ADD_BS_REQ, NULL, 0);
+    if (pMac->roam.configParam.roamDelayStatsEnabled)
+    {
+        vos_record_roam_event(e_LIM_ADD_BS_REQ, NULL, 0);
+    }
 #endif
     return;
 }