From 18df2f390e7a3d965cb0d7a6bd634c5638cef61e Mon Sep 17 00:00:00 2001 From: ptrkrysik Date: Wed, 19 Nov 2014 11:33:08 +0100 Subject: Removed setting channel type from the decoder - this is now done in demapping stage. --- lib/decoding/control_channels_decoder_impl.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/decoding/control_channels_decoder_impl.cc b/lib/decoding/control_channels_decoder_impl.cc index de1dc02..a5ac83c 100644 --- a/lib/decoding/control_channels_decoder_impl.cc +++ b/lib/decoding/control_channels_decoder_impl.cc @@ -109,6 +109,7 @@ namespace gr { //("error: sacch: parity error (errors=%d fn=%d)\n", errors, ctx->fn); //std::cout << "Uncorrectable errors!" << std::endl; errors = -1; + return; } else { //DEBUGF("Successfully corrected parity bits! (errors=%d fn=%d)\n", errors, ctx->fn); //std::cout << "Corrected some errors" << std::endl; @@ -133,7 +134,6 @@ namespace gr { pmt::pmt_t header_blob = pmt::car(d_bursts[0]); gsmtap_hdr * header = (gsmtap_hdr *)pmt::blob_data(header_blob); header->type = GSMTAP_TYPE_UM; - header->sub_type = GSMTAP_CHANNEL_BCCH; int8_t * header_content = (int8_t *)pmt::blob_data(header_blob); int8_t header_plus_data[16+23]; -- cgit v1.2.3