aboutsummaryrefslogtreecommitdiffstats
path: root/src/bts.cpp
diff options
context:
space:
mode:
authorMax <msuraev@sysmocom.de>2018-01-26 12:36:43 +0100
committerMax <msuraev@sysmocom.de>2018-01-31 11:21:27 +0100
commit69d585e148091030cbf32b9b596cd0e952b81252 (patch)
tree17c344bbed1ec2a7825205272deb4d54228870b7 /src/bts.cpp
parenta76a7d0c6c526f333ebdc02d2332a8b6659d8fb2 (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 1669739..72e1621 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;
}