Didnt mean to redefine variables in 1c11708501

This commit fixes commit 1c11708501 which
we are redefining data_buffer and size_to_write.
This commit is contained in:
Melissa Elkadi
2021-09-02 15:34:32 -07:00
parent 1c11708501
commit 2cb934ac2d
+2 -2
View File
@@ -462,8 +462,8 @@ static void deliver_sdu_drb(void *_ue, nr_pdcp_entity_t *entity,
char *data_buffer = buf;
int size_to_write = size;
if (buf[0] == 0) {
char *data_buffer = buf + 1;
int size_to_write = size - 1;
data_buffer = buf + 1;
size_to_write = size - 1;
}