diff options
Diffstat (limited to 'openbsc/src/e1_input.c')
-rw-r--r-- | openbsc/src/e1_input.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/openbsc/src/e1_input.c b/openbsc/src/e1_input.c index 79c3a5af4..b55fe2e62 100644 --- a/openbsc/src/e1_input.c +++ b/openbsc/src/e1_input.c @@ -268,7 +268,12 @@ int _abis_nm_sendmsg(struct msgb *msg) return -EINVAL; } - sign_link = msg->trx->bts->oml_link; + /* Check for TRX-specific OML link first */ + if (msg->trx->oml_link) + sign_link = msg->trx->oml_link; + else + sign_link = msg->trx->bts->oml_link; + e1i_ts = sign_link->ts; if (!bsc_timer_pending(&e1i_ts->sign.tx_timer)) { /* notify the driver we have something to write */ |