From a6a5a244efbc05a18f08997b654a898fc34114e1 Mon Sep 17 00:00:00 2001 From: Bastian Bloessl Date: Tue, 18 Jun 2013 16:26:33 +0200 Subject: [PATCH] decode mac: fix consume for short frames --- lib/ofdm_decode_mac.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/ofdm_decode_mac.cc b/lib/ofdm_decode_mac.cc index 5d9e20c..3c8f2fe 100644 --- a/lib/ofdm_decode_mac.cc +++ b/lib/ofdm_decode_mac.cc @@ -228,6 +228,8 @@ int general_work (int noutput_items, gr_vector_int& ninput_items, if(copied == tx.n_sym) { dout << "received complete frame - decoding" << std::endl; decode(); + in += 48; + i++; break; } }