bursts test: test_pdtch: pre-init result mem
Fixes: CID#57943 Change-Id: I4547f47c4150759d5c4ab790e34e91b784b03b39
This commit is contained in:
parent
4a85828462
commit
20363d165e
|
@ -349,6 +349,8 @@ static void test_pdtch(uint8_t *l2, int len)
|
|||
int n_errors, n_bits_total;
|
||||
int rc;
|
||||
|
||||
memset(result, 0xff, len);
|
||||
|
||||
/* zero the not coded tail bits */
|
||||
switch (len) {
|
||||
case 34:
|
||||
|
|
Loading…
Reference in New Issue