aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo-bts-octphy
diff options
context:
space:
mode:
Diffstat (limited to 'src/osmo-bts-octphy')
-rw-r--r--src/osmo-bts-octphy/l1_oml.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osmo-bts-octphy/l1_oml.c b/src/osmo-bts-octphy/l1_oml.c
index 0a2b9ef7..318c384e 100644
--- a/src/osmo-bts-octphy/l1_oml.c
+++ b/src/osmo-bts-octphy/l1_oml.c
@@ -471,7 +471,7 @@ static int set_ciph_compl_cb(struct gsm_bts_trx *trx, struct msgb *resp, void *d
}
OSMO_ASSERT(pcr->TrxId.byTrxId == trx->nr);
- ts = &trx->ts[pcr->TrxId.byTrxId];
+ ts = &trx->ts[pcr->PchId.byTimeslotNb];
/* for some strange reason the response does not tell which
* sub-channel, only th request contains this information :( */
lchan = &ts->lchan[(unsigned long) data];