pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-pcu/+/33153 )
Change subject: Log MS information in error message using usual MS API ......................................................................
Log MS information in error message using usual MS API
Change-Id: I66211f4fa8a139ddd109623d90a926a53f180cfd --- M src/pdch.cpp 1 file changed, 10 insertions(+), 7 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-pcu refs/changes/53/33153/1
diff --git a/src/pdch.cpp b/src/pdch.cpp index a8becca..b98a65d 100644 --- a/src/pdch.cpp +++ b/src/pdch.cpp @@ -350,13 +350,7 @@ ms = bts_get_ms_by_tlli(bts(), tlli, GSM_RESERVED_TMSI); if (ms) LOGPDCH(this, DRLCMAC, LOGL_NOTICE, "PACKET CONTROL ACK with " - "unknown TBF corresponds to MS with IMSI %s, TA %d, " - "uTBF (TFI=%d, state=%s), dTBF (TFI=%d, state=%s)\n", - ms_imsi(ms), ms_ta(ms), - ms_ul_tbf(ms) ? ms_ul_tbf(ms)->tfi() : 0, - ms_ul_tbf(ms) ? ms_ul_tbf(ms)->state_name() : "None", - ms_dl_tbf(ms) ? ms_dl_tbf(ms)->tfi() : 0, - ms_dl_tbf(ms) ? ms_dl_tbf(ms)->state_name() : "None"); + "unknown TBF corresponds to MS %s\n", ms_name(ms)); return; } OSMO_ASSERT(poll->tbf_poll.poll_tbf);