From a92fd3388cd7eac69e18938832be688c9a425613 Mon Sep 17 00:00:00 2001 From: Vadim Yanitskiy Date: Thu, 8 Mar 2018 20:51:52 +0700 Subject: 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 --- src/host/trxcon/l1ctl.c | 2 +- src/host/trxcon/l1ctl_link.c | 2 +- 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; -- cgit v1.2.3