summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-04-11 18:54:58 +0200
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-04-11 18:54:58 +0200
commit434642498719a8ae47013f58a89199f13715d713 (patch)
treeb0ebd74b3966ec6d89ac3f56fe28c212d032cc6a
parent520656e004ca35f360c86e0b1e8caffb2ca40071 (diff)
[ipa] Fix the reporting of link down...
Now bsc_init.c is able to handle the link down messages.
-rw-r--r--openbsc/src/input/ipaccess.c4
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;