aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo-bsc/abis_om2000.c
diff options
context:
space:
mode:
authorSylvain Munaut <tnt@246tNt.com>2020-05-05 20:07:24 +0200
committerSylvain Munaut <tnt@246tNt.com>2020-05-05 21:15:51 +0200
commit4a97d46cb18353636c193bf56b65e1e212d28f0b (patch)
tree59f8bc4e953abe0493d0d7bf1fef44ba181657b7 /src/osmo-bsc/abis_om2000.c
parent9d2375407eeb130f291f8e17dc087fe167b4f0fc (diff)
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 <tnt@246tNt.com> Change-Id: Ifcc1a01fdbf66a0f6f44cf8fed60dc19e72dd56a
Diffstat (limited to 'src/osmo-bsc/abis_om2000.c')
-rw-r--r--src/osmo-bsc/abis_om2000.c2
1 files changed, 1 insertions, 1 deletions
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;