diff options
author | Pablo Neira Ayuso <pablo@gnumonks.org> | 2011-08-09 23:15:38 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2011-08-10 10:51:02 +0200 |
commit | cd98656315c4e81816866823920fc1951f0c2a0b (patch) | |
tree | 280e0576a65721134a0bdf8a9f0f0a324b1c511f /openbsc/src/libabis/e1_input.c | |
parent | 1045697c349a432ef4b0a8dfd5ad20549afe2f39 (diff) |
LAPD: Propagate lapd_receive() errors to the E1 driver
Scenario: BTS are configured and working, then the BSC stops working
for some reason (crash or administrative stop).
If the BSC comes back to life, LAPD among other things does not know
about the previous existing TEIs. Instead of ignoring these frames,
we notify the driver that we are seeing frames with unknown TEIs, so
it can try to recover, e.g. by resending the SABM message.
Diffstat (limited to 'openbsc/src/libabis/e1_input.c')
-rw-r--r-- | openbsc/src/libabis/e1_input.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/openbsc/src/libabis/e1_input.c b/openbsc/src/libabis/e1_input.c index 97dcd3364..293175e5f 100644 --- a/openbsc/src/libabis/e1_input.c +++ b/openbsc/src/libabis/e1_input.c @@ -570,6 +570,7 @@ int e1inp_event(struct e1inp_ts *ts, int evt, uint8_t tei, uint8_t sapi) if (!link) return -EINVAL; + isd.line = ts->line; isd.link_type = link->type; isd.trx = link->trx; isd.tei = tei; |