diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-04-11 18:54:58 +0200 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-04-15 11:19:08 +0200 |
commit | f8eff2e4b537c00cfc8a17991759df0f58a29148 (patch) | |
tree | 3ded7fcfc4932daf5542383bbd66bcb156b43259 /openbsc | |
parent | 70402a4e4ddc0f7ee584445c9c3ac7dc91fe374b (diff) |
[ipa] Fix the reporting of link down...
Now bsc_init.c is able to handle the link down messages.
Diffstat (limited to 'openbsc')
-rw-r--r-- | openbsc/src/input/ipaccess.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/openbsc/src/input/ipaccess.c b/openbsc/src/input/ipaccess.c index 8fb9d3a8e..8a8a1987d 100644 --- a/openbsc/src/input/ipaccess.c +++ b/openbsc/src/input/ipaccess.c @@ -350,7 +350,7 @@ int ipaccess_drop_oml(struct gsm_bts *bts) /* send OML down */ ts = bts->oml_link->ts; line = ts->line; - e1inp_event(ts, EVT_E1_TEI_DN, 0, IPAC_PROTO_OML); + e1inp_event(ts, EVT_E1_TEI_DN, bts->oml_link->tei, bts->oml_link->sapi); bfd = &ts->driver.ipaccess.fd; bsc_unregister_fd(bfd); @@ -419,7 +419,7 @@ int ipaccess_drop_rsl(struct gsm_bts_trx *trx) /* send RSL down */ ts = trx->rsl_link->ts; - e1inp_event(ts, EVT_E1_TEI_DN, 0, IPAC_PROTO_RSL); + e1inp_event(ts, EVT_E1_TEI_DN, trx->rsl_link->tei, trx->rsl_link->sapi); /* close the socket */ bfd = &ts->driver.ipaccess.fd; |