aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMinh-Quang Nguyen <minh-quang.nguyen@nutaq.com>2017-06-24 01:08:30 +0200
committerHarald Welte <laforge@gnumonks.org>2017-06-24 12:56:08 +0200
commit2a4c5fa2b388e6395b0e5d44bbf7ee60c7a82bcb (patch)
treeb1a38b1ce2edf8c988b2703fa89fa16397df77fe
parent4699ebaa266ddfc2aad341a089c2fddbd87ba7b2 (diff)
LC15: properly handle BS-AG-BLKS-RES as received from BSC
-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 5977aa9..71bb833 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;