Commit ba03fd9f authored by Cedric Roux's avatar Cedric Roux Committed by Makarand kulkarni

bugfix: nea2 security: use correct bearer argument to init security

parent e1b141e8
......@@ -50,7 +50,7 @@ void nr_pdcp_security_nea2_cipher(void *security_context, unsigned char *buffer,
memcpy(p.key, ciphering_key, 16);
p.type = AES_INITIALIZATION_VECTOR_16;
p.iv16.d.count = ntohl(count);
p.iv16.d.bearer = bearer;
p.iv16.d.bearer = bearer - 1;
p.iv16.d.direction = direction;
uint8_t out[length];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment