laforge
/
openbts-osmo
Archived
1
0
Fork 0

Connect SAPmux upper end with Lchan during connect()

This commit is contained in:
Harald Welte 2011-11-13 15:19:57 +01:00
parent ae48a74ee2
commit 12a1ff7317
1 changed files with 3 additions and 0 deletions

View File

@ -71,6 +71,9 @@ void OsmoLogicalChannel::connect()
/* connect L1 at lower end of OsmoSAPMux */ /* connect L1 at lower end of OsmoSAPMux */
mMux.downstream(mL1); mMux.downstream(mL1);
/* connect SAPmux upper end to this logical channel */
mMux.upstream(this);
/* Tell L1FEC that the SAPMux is its upstream */ /* Tell L1FEC that the SAPMux is its upstream */
if (mL1) if (mL1)
mL1->upstream(&mMux); mL1->upstream(&mMux);