tbf: Log previous TS when changing Control TS

Change-Id: I5f37f3512dde60e4eb1ccebbb2d96de24604d241
This commit is contained in:
Pau Espin 2020-11-30 12:18:38 +01:00 committed by laforge
parent 58cd1d2f8a
commit 7fd9a29eba
1 changed files with 2 additions and 2 deletions

View File

@ -363,8 +363,8 @@ int tbf_assign_control_ts(struct gprs_rlcmac_tbf *tbf)
LOGPTBF(tbf, LOGL_INFO, "Setting Control TS %d\n",
tbf->first_common_ts);
else if (tbf->control_ts != tbf->first_common_ts)
LOGPTBF(tbf, LOGL_INFO, "Changing Control TS %d\n",
tbf->first_common_ts);
LOGPTBF(tbf, LOGL_INFO, "Changing Control TS %d -> %d\n",
tbf->control_ts, tbf->first_common_ts);
tbf->control_ts = tbf->first_common_ts;
return 0;