From 69d585e148091030cbf32b9b596cd0e952b81252 Mon Sep 17 00:00:00 2001 From: Max Date: Fri, 26 Jan 2018 12:36:43 +0100 Subject: TS alloc: print suggested TRX on allocation errors If TS allocation fails due to unavailable TFI, print TRX which was suggested to allocator. This simplifies allocator debugging but requires cosmetic modifications to test output. Change-Id: Icaf97d71d71985d52dc0bda448c26b19fe5645e7 Related: OS#2282 --- src/bts.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/bts.cpp b/src/bts.cpp index 16697394..72e1621b 100644 --- a/src/bts.cpp +++ b/src/bts.cpp @@ -495,7 +495,7 @@ int BTS::tfi_find_free(enum gprs_rlcmac_tbf_direction dir, uint8_t *_trx, int8_t } if (!free_tfis) { - LOGP(DRLCMAC, LOGL_NOTICE, "No TFI available.\n"); + LOGP(DRLCMAC, LOGL_NOTICE, "No TFI available (suggested TRX: %d).\n", use_trx); return -EBUSY; } -- cgit v1.2.3