[ipa] Fix the reporting of link down...

Now bsc_init.c is able to handle the link down messages.
This commit is contained in:
Holger Hans Peter Freyther 2010-04-11 18:54:58 +02:00
parent 70402a4e4d
commit f8eff2e4b5
1 changed files with 2 additions and 2 deletions

View File

@ -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;