aboutsummaryrefslogtreecommitdiffstats
path: root/src/common/l1sap.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/l1sap.c')
-rw-r--r--src/common/l1sap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/l1sap.c b/src/common/l1sap.c
index 06de8a3d..67d569b8 100644
--- a/src/common/l1sap.c
+++ b/src/common/l1sap.c
@@ -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;
}