From 266f1b08fbf508cda5f1d2db3451776fd14c56cb Mon Sep 17 00:00:00 2001 From: Andre Puschmann Date: Wed, 12 Jul 2017 16:14:17 +0200 Subject: [PATCH] rlc_am: print LCID in buffer status msg --- lib/src/upper/rlc_am.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/src/upper/rlc_am.cc b/lib/src/upper/rlc_am.cc index f0055a534..e8e2e2803 100644 --- a/lib/src/upper/rlc_am.cc +++ b/lib/src/upper/rlc_am.cc @@ -218,7 +218,7 @@ uint32_t rlc_am::get_total_buffer_state() // Room needed for fixed header? if(n_bytes > 0) { n_bytes += 2; - log->debug("Buffer state - tx SDUs: %d bytes\n", n_bytes); + log->debug("Total buffer state LCID=%d - tx SDUs: %d bytes\n", lcid, n_bytes); } pthread_mutex_unlock(&mutex); @@ -235,7 +235,7 @@ uint32_t rlc_am::get_buffer_state() check_reordering_timeout(); if(do_status && !status_prohibited()) { n_bytes = prepare_status(); - log->debug("Buffer state - status report: %d bytes\n", n_bytes); + log->debug("Buffer state LCID=%d - status report: %d bytes\n", lcid, n_bytes); goto unlock_and_return; } @@ -268,7 +268,7 @@ uint32_t rlc_am::get_buffer_state() // Room needed for fixed header? if(n_bytes > 0) { n_bytes += 2; - log->debug("Buffer state - tx SDUs: %d bytes\n", n_bytes); + log->debug("Buffer state LCID=%d - tx SDUs: %d bytes\n", lcid, n_bytes); } unlock_and_return: