fixeria submitted this change.
trxcon: rename DTRX logging sub-system to DTRXC
This sub-system is used for TRXC related logging, so reflect this.
Change-Id: I33c8f81e37de7ee61809610e51405a96c93536ff
---
M src/host/trxcon/include/osmocom/bb/trxcon/logging.h
M src/host/trxcon/src/logging.c
M src/host/trxcon/src/trx_if.c
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 152c346..f81e1d6 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 04f3568..5c16ac5 100644
--- a/src/host/trxcon/src/logging.c
+++ b/src/host/trxcon/src/logging.c
@@ -42,8 +42,8 @@
.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 7499740..46f6e7e 100644
--- a/src/host/trxcon/src/trx_if.c
+++ b/src/host/trxcon/src/trx_if.c
@@ -81,7 +81,7 @@
.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,
};
To view, visit change 28758. To unsubscribe, or for help writing mail filters, visit settings.