l1gprs: minor changes to l1gprs_handle_rts_ind()
* assert() the given TDMA Tn before accessing gprs->pdch[] * do not check TDMA Fn, as there can be no RTS.ind for PTCCH/U ** unlike PTCCH/D, we send Access Bursts on PTCCH/U Change-Id: Ie74d1c4123715d61875c4c956eb4a1ce97ed5f24
This commit is contained in:
parent
e2529ea58f
commit
e344d6b7c2
|
@ -754,11 +754,11 @@ struct msgb *l1gprs_handle_rts_ind(struct l1gprs_state *gprs, uint32_t fn, uint8
|
|||
struct l1ctl_gprs_rts_ind *l1bi;
|
||||
struct msgb *msg;
|
||||
|
||||
OSMO_ASSERT(tn < ARRAY_SIZE(gprs->pdch));
|
||||
pdch = &gprs->pdch[tn];
|
||||
|
||||
LOGP_PDCH(pdch, LOGL_DEBUG,
|
||||
"Rx RTS.ind (%s, fn=%u, usf=%u)\n",
|
||||
((fn % 104) == 12) ? "PTCCH" : "PDTCH",
|
||||
"Rx RTS.ind (PDTCH, fn=%u, usf=%u)\n",
|
||||
fn, usf);
|
||||
|
||||
l1gprs_check_pending_tbfs(gprs, fn);
|
||||
|
|
Loading…
Reference in New Issue