summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVadim Yanitskiy <axilirator@gmail.com>2018-03-08 20:51:52 +0700
committerHarald Welte <laforge@gnumonks.org>2018-03-11 10:05:46 +0000
commita92fd3388cd7eac69e18938832be688c9a425613 (patch)
tree86edf9e465be6882db9b27ec0a1e25e042a38750
parent5eae19098ac6e0563d3e176818ca6a6a4fb8656a (diff)
trxcon: use meaningful names for L1CTL messages
There are two types of L1CTL messages: received and to be transmitted. Let's use proper names to indicate this. Change-Id: I7c17687579282fa389bca35dc7edbc3582e55701
-rw-r--r--src/host/trxcon/l1ctl.c2
-rw-r--r--src/host/trxcon/l1ctl_link.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/host/trxcon/l1ctl.c b/src/host/trxcon/l1ctl.c
index dd75af95..58b8a4ff 100644
--- a/src/host/trxcon/l1ctl.c
+++ b/src/host/trxcon/l1ctl.c
@@ -49,7 +49,7 @@
static struct msgb *l1ctl_alloc_msg(uint8_t msg_type)
{
struct l1ctl_hdr *l1h;
- struct msgb *msg = msgb_alloc_headroom(256, 4, "osmo_l1");
+ struct msgb *msg = msgb_alloc_headroom(256, 4, "l1ctl_tx_msg");
if (!msg) {
LOGP(DL1C, LOGL_ERROR, "Failed to allocate memory\n");
diff --git a/src/host/trxcon/l1ctl_link.c b/src/host/trxcon/l1ctl_link.c
index 596a9d1d..a7277ea5 100644
--- a/src/host/trxcon/l1ctl_link.c
+++ b/src/host/trxcon/l1ctl_link.c
@@ -77,7 +77,7 @@ static int l1ctl_link_read_cb(struct osmo_fd *bfd)
/* Allocate a new msg */
msg = msgb_alloc_headroom(L1CTL_LENGTH + L1CTL_HEADROOM,
- L1CTL_HEADROOM, "L1CTL");
+ L1CTL_HEADROOM, "l1ctl_rx_msg");
if (!msg) {
LOGP(DL1D, LOGL_ERROR, "Failed to allocate msg\n");
return -ENOMEM;