L1SAP: fix gsmtap_pdch(): there can be no DATA.ind on PTCCH/U
Change-Id: Id69010ffa8c697e8c01bbb21509253c330f95343
This commit is contained in:
parent
43a8ed2b55
commit
2cbdeba5cf
|
@ -333,13 +333,6 @@ static int gsmtap_pdch(struct osmo_phsap_prim *l1sap, uint8_t *chan_type,
|
|||
if (L1SAP_IS_PTCCH(fn)) {
|
||||
*chan_type = GSMTAP_CHANNEL_PTCCH;
|
||||
*ss = L1SAP_FN2PTCCHBLOCK(fn);
|
||||
if (l1sap->oph.primitive == PRIM_OP_INDICATION) {
|
||||
OSMO_ASSERT(len > 0);
|
||||
if ((*data[0]) == 7)
|
||||
return -EINVAL;
|
||||
(*data)++;
|
||||
(*len)--;
|
||||
}
|
||||
} else
|
||||
*chan_type = GSMTAP_CHANNEL_PACCH;
|
||||
|
||||
|
|
Loading…
Reference in New Issue