aboutsummaryrefslogtreecommitdiffstats
path: root/tests/tbf/TbfTest.cpp
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2021-07-22 19:56:37 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2021-08-23 17:14:21 +0200
commit720e19e7f353834d73ffcc264a06e461671e6dd4 (patch)
tree3a583b52161cef31231e70c6050874cd242eaee8 /tests/tbf/TbfTest.cpp
parent33e80071002c3c0bf097a71c2c8e29d445304255 (diff)
Move FLOW tbf_state transition to tbf_fsm.
Diffstat (limited to 'tests/tbf/TbfTest.cpp')
-rw-r--r--tests/tbf/TbfTest.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/tbf/TbfTest.cpp b/tests/tbf/TbfTest.cpp
index aa7ab46b..f8cb9749 100644
--- a/tests/tbf/TbfTest.cpp
+++ b/tests/tbf/TbfTest.cpp
@@ -217,7 +217,8 @@ static gprs_rlcmac_dl_tbf *create_dl_tbf(struct gprs_rlcmac_bts *bts, uint8_t ms
/* "Establish" the DL TBF */
TBF_SET_ASS_STATE_DL(dl_tbf, GPRS_RLCMAC_DL_ASS_SEND_ASS);
- TBF_SET_STATE(dl_tbf, TBF_ST_FLOW);
+ osmo_fsm_inst_dispatch(dl_tbf->state_fsm.fi, TBF_EV_ASSIGN_ADD_CCCH, NULL);
+ osmo_fsm_inst_dispatch(dl_tbf->state_fsm.fi, TBF_EV_ASSIGN_ACK_PACCH, NULL);
dl_tbf->m_wait_confirm = 0;
check_tbf(dl_tbf);