L1SAP: properly handle 11-bit encoded RACH.ind in gsmtap_ph_rach()
Change-Id: Id263c2b716fd282d37d705a1c5f430ce7c0edaf0
This commit is contained in:
parent
29e47ffc20
commit
eb43c947c1
|
@ -371,7 +371,7 @@ static int gsmtap_ph_rach(struct osmo_phsap_prim *l1sap, uint8_t *chan_type,
|
|||
}
|
||||
|
||||
*data = (uint8_t *)&l1sap->u.rach_ind.ra;
|
||||
*len = 1;
|
||||
*len = (l1sap->u.rach_ind.is_11bit) ? 2 : 1;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue