aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/osmo-bts-litecell15/l1_if.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osmo-bts-litecell15/l1_if.c b/src/osmo-bts-litecell15/l1_if.c
index 5977aa9f..71bb833e 100644
--- a/src/osmo-bts-litecell15/l1_if.c
+++ b/src/osmo-bts-litecell15/l1_if.c
@@ -389,7 +389,7 @@ static int ph_data_req(struct gsm_bts_trx *trx, struct msgb *msg,
/* The sapi depends on DSP configuration, not
* on the actual SYSTEM INFORMATION 3. */
u8BlockNbr = L1SAP_FN2CCCHBLOCK(u32Fn);
- if (u8BlockNbr >= 1)
+ if (u8BlockNbr >= num_agch(trx, "PH-DATA-REQ"))
sapi = GsmL1_Sapi_Pch;
else
sapi = GsmL1_Sapi_Agch;