aboutsummaryrefslogtreecommitdiffstats
path: root/lib/decoding/control_channels_decoder_impl.cc
diff options
context:
space:
mode:
authorptrkrysik <ptrkrysik@gmail.com>2014-11-19 11:33:08 +0100
committerptrkrysik <ptrkrysik@gmail.com>2014-11-19 11:33:08 +0100
commit18df2f390e7a3d965cb0d7a6bd634c5638cef61e (patch)
treed74bc7deb1cbbaf513dfe1a6f33831628ae101c6 /lib/decoding/control_channels_decoder_impl.cc
parent6dded65edec613e86e01178d84cd7a5bac074069 (diff)
Removed setting channel type from the decoder - this is now done in demapping stage.
Diffstat (limited to 'lib/decoding/control_channels_decoder_impl.cc')
-rw-r--r--lib/decoding/control_channels_decoder_impl.cc2
1 files changed, 1 insertions, 1 deletions
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];