summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVadim Yanitskiy <vyanitskiy@sysmocom.de>2022-07-24 01:35:42 +0700
committerVadim Yanitskiy <vyanitskiy@sysmocom.de>2022-07-25 19:53:51 +0700
commitc582aedd91106ea259df0843bb79434d82430123 (patch)
tree6d702dff61cba2a80349101a2e2941ef45ac2e39
parent4f2d6c40d000f401ffaabe16202f541c4658564a (diff)
trxcon: rename DTRX logging sub-system to DTRXC
This sub-system is used for TRXC related logging, so reflect this. Change-Id: I33c8f81e37de7ee61809610e51405a96c93536ff
-rw-r--r--src/host/trxcon/include/osmocom/bb/trxcon/logging.h4
-rw-r--r--src/host/trxcon/src/logging.c4
-rw-r--r--src/host/trxcon/src/trx_if.c2
3 files changed, 5 insertions, 5 deletions
diff --git a/src/host/trxcon/include/osmocom/bb/trxcon/logging.h b/src/host/trxcon/include/osmocom/bb/trxcon/logging.h
index 152c3467..f81e1d68 100644
--- a/src/host/trxcon/include/osmocom/bb/trxcon/logging.h
+++ b/src/host/trxcon/include/osmocom/bb/trxcon/logging.h
@@ -2,13 +2,13 @@
#include <osmocom/core/logging.h>
-#define DEBUG_DEFAULT "DAPP:DL1C:DL1D:DTRX:DTRXD:DSCH:DSCHD"
+#define DEBUG_DEFAULT "DAPP:DL1C:DL1D:DTRXC:DTRXD:DSCH:DSCHD"
enum {
DAPP,
DL1C,
DL1D,
- DTRX,
+ DTRXC,
DTRXD,
DSCH,
DSCHD,
diff --git a/src/host/trxcon/src/logging.c b/src/host/trxcon/src/logging.c
index 04f3568a..5c16ac5e 100644
--- a/src/host/trxcon/src/logging.c
+++ b/src/host/trxcon/src/logging.c
@@ -42,8 +42,8 @@ static struct log_info_cat trx_log_info_cat[] = {
.color = "\033[1;31m",
.enabled = 1, .loglevel = LOGL_NOTICE,
},
- [DTRX] = {
- .name = "DTRX",
+ [DTRXC] = {
+ .name = "DTRXC",
.description = "Transceiver control interface",
.color = "\033[1;33m",
.enabled = 1, .loglevel = LOGL_NOTICE,
diff --git a/src/host/trxcon/src/trx_if.c b/src/host/trxcon/src/trx_if.c
index 7499740f..46f6e7e7 100644
--- a/src/host/trxcon/src/trx_if.c
+++ b/src/host/trxcon/src/trx_if.c
@@ -81,7 +81,7 @@ static struct osmo_fsm trx_fsm = {
.name = "trx_interface",
.states = trx_fsm_states,
.num_states = ARRAY_SIZE(trx_fsm_states),
- .log_subsys = DTRX,
+ .log_subsys = DTRXC,
.event_names = trx_evt_names,
};