From 4a97d46cb18353636c193bf56b65e1e212d28f0b Mon Sep 17 00:00:00 2001 From: Sylvain Munaut Date: Tue, 5 May 2020 20:07:24 +0200 Subject: om2k: Fix type of msg_type in abis_om2k_tx_simple Thoses messages IDs are 16 bits and the upper 8 bits are sort of important :D Signed-off-by: Sylvain Munaut Change-Id: Ifcc1a01fdbf66a0f6f44cf8fed60dc19e72dd56a --- src/osmo-bsc/abis_om2000.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osmo-bsc/abis_om2000.c b/src/osmo-bsc/abis_om2000.c index 355389ba3..b14643bc8 100644 --- a/src/osmo-bsc/abis_om2000.c +++ b/src/osmo-bsc/abis_om2000.c @@ -1050,7 +1050,7 @@ static int abis_om2k_cal_time_resp(struct gsm_bts *bts) } static int abis_om2k_tx_simple(struct gsm_bts *bts, const struct abis_om2k_mo *mo, - uint8_t msg_type) + uint16_t msg_type) { struct msgb *msg = om2k_msgb_alloc(); struct abis_om2k_hdr *o2k; -- cgit v1.2.3