libmsc/mncc_sock.c: Add lchan_type_offset in queue_hello()
lchan_type was removed from gsm_mncc and the hello message on initial import from legacy OpenBSC in Change-Id: Id3705236350d5f69e447046b0a764bbabc3d493c This patch follows on from Change-Id: Ia02373a36df7605507ee3de49173a9fd6547b726 which reintroduced lchan_type to the gsm_mncc struct. This patch restores the lchan_type_offset to the hello protocol message Without this patch, LCR will issue an error and disconnect from the MNCC socket. Change-Id: I65312082fa5dc0721170f923840e992ef9481a63 Closes: OS#3461
This commit is contained in:
parent
f896c690be
commit
f02d17f75a
|
@ -228,6 +228,7 @@ static void queue_hello(struct mncc_sock_state *mncc)
|
|||
hello->called_offset = offsetof(struct gsm_mncc, called);
|
||||
hello->signal_offset = offsetof(struct gsm_mncc, signal);
|
||||
hello->emergency_offset = offsetof(struct gsm_mncc, emergency);
|
||||
hello->lchan_type_offset = offsetof(struct gsm_mncc, lchan_type);
|
||||
|
||||
msgb_enqueue(&mncc->net->upqueue, msg);
|
||||
mncc->conn_bfd.when |= BSC_FD_WRITE;
|
||||
|
|
Loading…
Reference in New Issue