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
This commit is contained in:
Sylvain Munaut 2020-05-05 20:07:24 +02:00
parent 9d2375407e
commit 4a97d46cb1
1 changed files with 1 additions and 1 deletions

View File

@ -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;