ranap: Don' shift the RAB ID by 3 bits

This commit is contained in:
Harald Welte 2015-12-19 02:38:09 +01:00
parent 94a62d591d
commit 0a3eafee45
1 changed files with 1 additions and 1 deletions

View File

@ -482,7 +482,7 @@ static RANAP_UserPlaneInformation_t *new_upi(long mode, uint8_t mode_versions)
static void assign_new_ra_id(RANAP_RAB_ID_t *id, uint8_t rab_id)
{
uint8_t *buf = CALLOC(1, sizeof(*buf));
*buf = rab_id << 3;
*buf = rab_id;
id->buf = buf;
id->size = 1;