Fixes issue of PARAM_RRC_STATUS_CHANGE_TIMER in LteSimulation
Bug: 219799762
Test: No Test.
Change-Id: I6f7babe8aeef49c8869ad6666d39d08c87c5def0
diff --git a/acts/framework/acts/controllers/cellular_lib/LteSimulation.py b/acts/framework/acts/controllers/cellular_lib/LteSimulation.py
index f9d40c7..2c91cc4 100644
--- a/acts/framework/acts/controllers/cellular_lib/LteSimulation.py
+++ b/acts/framework/acts/controllers/cellular_lib/LteSimulation.py
@@ -518,7 +518,7 @@
# This shouldn't be a cell parameter but instead a simulation config
# Setup LTE RRC status change function and timer for LTE idle test case
- if self.PARAM_RRC_STATUS_CHANGE_TIMER not in parameters:
+ if self.PARAM_RRC_STATUS_CHANGE_TIMER not in parameters[0]:
self.log.info(
"The test config does not include the '{}' key. Disabled "
"by default.".format(self.PARAM_RRC_STATUS_CHANGE_TIMER))