diff options
author | Harald Welte <laforge@gnumonks.org> | 2015-12-19 02:38:09 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2015-12-19 02:38:09 +0100 |
commit | 0a3eafee45e78ae887a7f1c579ab54befc1fa47a (patch) | |
tree | 46c286717544528ef623333fd85fd4dbc6ead516 /src | |
parent | 94a62d591d59ffa1cbaf310ecb71172f25decf7e (diff) |
ranap: Don' shift the RAB ID by 3 bits
Diffstat (limited to 'src')
-rw-r--r-- | src/ranap_msg_factory.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ranap_msg_factory.c b/src/ranap_msg_factory.c index efc00c6..99a86ff 100644 --- a/src/ranap_msg_factory.c +++ b/src/ranap_msg_factory.c @@ -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; |