summaryrefslogtreecommitdiff
path: root/cesar
diff options
context:
space:
mode:
authorNélio Laranjeiro2013-05-27 11:51:01 +0200
committerNélio Laranjeiro2013-06-06 14:51:54 +0200
commit631a60b068c53fc1939d1f90deec7536d8339ddc (patch)
tree6be09d0864438a05538c4ed3f06e7b21c129113b /cesar
parent0174228907407ba4fcd270a30d57a87e1f332545 (diff)
cesar/cp/av/sta/action: fix a forgotten unit test, refs #3968
The test concerning the simple connect has not been updated.
Diffstat (limited to 'cesar')
-rw-r--r--cesar/cp/av/sta/action/test/utest/src/sc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/cesar/cp/av/sta/action/test/utest/src/sc.c b/cesar/cp/av/sta/action/test/utest/src/sc.c
index 6bc83a5ceb..b7b8f79e7a 100644
--- a/cesar/cp/av/sta/action/test/utest/src/sc.c
+++ b/cesar/cp/av/sta/action/test/utest/src/sc.c
@@ -1049,8 +1049,8 @@ sc_basic_test_cases (test_t t)
SCENARIO_EVENT (cp_fsm_event_bare_new,
.type = CP_FSM_EVENT_TYPE_assoc_timeout), */
SCENARIO_EVENT (cp_sta_core_gen_timed_event,
- .delay_min_ms = 10 * 60 * 1000 - (5 * 60 * 1000),
- .delay_max_ms = 10 * 60 * 1000 - (5 * 60 * 1000)),
+ .delay_min_ms = (10 - 1) * 60 * 1000,
+ .delay_max_ms = (10 - 1) * 60 * 1000),
/* Association ok. */
SCENARIO_EVENT (cp_fsm_branch,
.branch = CP_FSM_BRANCH (SC_WAIT_ASSOC_CONF, CC_ASSOC_CNF,
@@ -1330,8 +1330,8 @@ sc_basic_test_cases (test_t t)
SCENARIO_EVENT (cp_fsm_event_bare_new,
.type = CP_FSM_EVENT_TYPE_assoc_timeout), */
SCENARIO_EVENT (cp_sta_core_gen_timed_event,
- .delay_min_ms = 10 * 60 * 1000 - (5 * 60 * 1000),
- .delay_max_ms = 10 * 60 * 1000 - (5 * 60 * 1000)),
+ .delay_min_ms = (10 - 1) * 60 * 1000,
+ .delay_max_ms = (10 - 1) * 60 * 1000),
/* Association ok. */
SCENARIO_EVENT (cp_fsm_branch,
.branch = CP_FSM_BRANCH (SC_WAIT_ASSOC_CONF, CC_ASSOC_CNF,