aboutsummaryrefslogtreecommitdiffstats
path: root/src/bts.cpp
diff options
context:
space:
mode:
authorMax <msuraev@sysmocom.de>2018-01-26 12:36:43 +0100
committerNeels Hofmeyr <neels@hofmeyr.de>2018-02-27 22:27:52 +0100
commit3d60f305a1b74f9b6e6c0006ca9ef8e0bf2f4e8c (patch)
treeec6472ec5e5ed8bb85a2119068a9190dd1115a6f /src/bts.cpp
parentc13bc09b12424284c9ea554da4915e38f6e620ee (diff)
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
Diffstat (limited to 'src/bts.cpp')
-rw-r--r--src/bts.cpp2
1 files changed, 1 insertions, 1 deletions
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;
}