aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVadim Yanitskiy <vyanitskiy@sysmocom.de>2023-12-09 04:08:24 +0700
committerlaforge <laforge@osmocom.org>2023-12-10 11:20:40 +0000
commit26dff79f8be1637ed077094762b83cddf515c862 (patch)
treed2ea52fd0d9ed0f7bd3801a066897a05de16c688
parentd0b575c05974dc188bfebfd9aa61706b246f3c0a (diff)
soft_uart: cosmetic: use consistent naming for the Rx buffer msgb
In osmo_soft_uart_flush_rx() we use "soft_uart_rx", so be consistent. Change-Id: Id637a39bab8ecd04bca5580bb48f965b501f5b2e
-rw-r--r--src/core/soft_uart.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/soft_uart.c b/src/core/soft_uart.c
index 6cc8ab49..c6a6dbd9 100644
--- a/src/core/soft_uart.c
+++ b/src/core/soft_uart.c
@@ -492,7 +492,7 @@ int osmo_soft_uart_set_rx(struct osmo_soft_uart *suart, bool enable)
suart->rx.flow_state = SUART_FLOW_ST_IDLE;
} else if (enable && !suart->rx.running) {
if (!suart->rx.msg)
- suart->rx.msg = msgb_alloc_c(suart, suart->cfg.rx_buf_size, "soft_uart rx");
+ suart->rx.msg = msgb_alloc_c(suart, suart->cfg.rx_buf_size, "soft_uart_rx");
suart->rx.running = true;
suart->rx.flow_state = SUART_FLOW_ST_IDLE;
}