From 929033650233b7734a11c1e456580a782b82131d Mon Sep 17 00:00:00 2001 From: ismagom Date: Tue, 25 Nov 2014 16:24:02 +0000 Subject: [PATCH] Fixed memory bug with extended CP --- lte/examples/cell_search_utils.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/lte/examples/cell_search_utils.c b/lte/examples/cell_search_utils.c index 93301e88f..2a83148ed 100644 --- a/lte/examples/cell_search_utils.c +++ b/lte/examples/cell_search_utils.c @@ -256,8 +256,6 @@ int detect_and_decode_cell(cell_detect_cfg_t *config, void *uhd, int force_N_id_ } } - found_cells[max_peak_cell].cp = CPEXT; - printf("Decoding PBCH for cell %d (N_id_2=%d)\n", found_cells[max_peak_cell].cell_id, max_peak_cell); if (decode_pbch(uhd, &found_cells[max_peak_cell], 400, bch_payload, &nof_tx_ports, NULL)) { fprintf(stderr, "Could not decode PBCH from CELL ID %d\n", found_cells[max_peak_cell].cell_id);