diff options
author | Max <msuraev@sysmocom.de> | 2018-01-12 15:48:12 +0100 |
---|---|---|
committer | Max <msuraev@sysmocom.de> | 2018-01-17 15:47:32 +0000 |
commit | 2399b1dbfc33b15f64781e611923bc0866f7ccd1 (patch) | |
tree | ec32f9a955ab6d1c45b205bd8d2b6a6ab270df1a /src/tbf_ul.cpp | |
parent | 186206cff295de9afb0d1beda72a4304ebaa1e17 (diff) |
TBF: log source of state transitions
We use the same approach for osmo_fsm: when state transition happens,
it's not very useful to always log the transition function itself, it's
much more useful to see where the actual transition comes from.
Change-Id: I348ba89bdda2b44c7019e9c893c764ee08c80bec
Related: OS#1759
Diffstat (limited to 'src/tbf_ul.cpp')
-rw-r--r-- | src/tbf_ul.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tbf_ul.cpp b/src/tbf_ul.cpp index 83ac08f4..eaf9c939 100644 --- a/src/tbf_ul.cpp +++ b/src/tbf_ul.cpp @@ -330,7 +330,7 @@ int gprs_rlcmac_ul_tbf::rcv_data_block_acknowledged( if (rdbi->cv == 0) { LOGP(DRLCMACUL, LOGL_DEBUG, "- Finished with UL " "TBF\n"); - set_state(GPRS_RLCMAC_FINISHED); + TBF_SET_STATE(this, GPRS_RLCMAC_FINISHED); /* Reset N3103 counter. */ this->m_n3103 = 0; } |