aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo-bsc/osmo_bsc_main.c
diff options
context:
space:
mode:
authorStefan Sperling <ssperling@sysmocom.de>2018-02-12 14:28:52 +0100
committerStefan Sperling <ssperling@sysmocom.de>2018-02-13 18:08:28 +0100
commit73acbca50fe109bcd58f90c1a282b0c75a81b97b (patch)
tree7e5186a7d992dcae24a429e1c42d3252ac8bb1d5 /src/osmo-bsc/osmo_bsc_main.c
parentaa4adb8fbf9bd66ec6d628250ffe1a4106a9724d (diff)
Make RSL connection attempts time out.
If a BTS/TRX does not respond to the "IPA RSL Connect" command, pretend that the BTS has sent a NACK for the connection. To ensure that osmo_timer_del(&trx->rsl_connection_timeout) is not called before this timer is initialized with osmo_timer_setup(), the E1 layer now drops incoming RSL messages from a BTS/TRX in LOCKED administrative state. We cancel the timeout if we receive an RSL Connect ACK or NACK from the BTS, and if the underlying E1 link does down. While here, add a missing message buffer free() in bts_isdn_sign_link(). The callers do not free it. Change-Id: Ia72b65a0f15f47dcb8a6f944f6c3695a4a64b923 Related: OS#2716
Diffstat (limited to 'src/osmo-bsc/osmo_bsc_main.c')
0 files changed, 0 insertions, 0 deletions