summaryrefslogtreecommitdiff
path: root/wl1271/stad/src/AirLink_Managment/measurementMgrSM.c
diff options
context:
space:
mode:
Diffstat (limited to 'wl1271/stad/src/AirLink_Managment/measurementMgrSM.c')
-rw-r--r--wl1271/stad/src/AirLink_Managment/measurementMgrSM.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/wl1271/stad/src/AirLink_Managment/measurementMgrSM.c b/wl1271/stad/src/AirLink_Managment/measurementMgrSM.c
index 6687d40..22c8dc2 100644
--- a/wl1271/stad/src/AirLink_Managment/measurementMgrSM.c
+++ b/wl1271/stad/src/AirLink_Managment/measurementMgrSM.c
@@ -1,7 +1,7 @@
/*
* measurementMgrSM.c
*
- * Copyright(c) 1998 - 2009 Texas Instruments. All rights reserved.
+ * Copyright(c) 1998 - 2010 Texas Instruments. All rights reserved.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -336,6 +336,9 @@ TRACE0(pMeasurementMgr->hReport, REPORT_SEVERITY_INFORMATION, ": Connected flag
TRACE0(pMeasurementMgr->hReport, REPORT_SEVERITY_INFORMATION, ": Connected flag has been set\n");
+ /* upon connection to a new AP set the measurment scan flag to FALSE */
+ pMeasurementMgr->bMeasurementScanExecuted = TI_FALSE;
+
/* get the current serving channel */
param.paramType = SITE_MGR_CURRENT_CHANNEL_PARAM;
siteMgr_getParam(pMeasurementMgr->hSiteMgr, &param);
@@ -956,6 +959,9 @@ static TI_STATUS measurementMgrSM_acStartMeasurement(void * pData)
MEASUREMENTMGR_EVENT_COMPLETE, pMeasurementMgr);
}
+ /* set the measurement scan executed flag to TRUE */
+ pMeasurementMgr->bMeasurementScanExecuted = TI_TRUE;
+
/* Yalla, start measuring */
TRACE0(pMeasurementMgr->hReport, REPORT_SEVERITY_INFORMATION, ": Finished preparing request. Handing over to MeasurementSRV...\n");