decode mac: fix consume for short frames

This commit is contained in:
Bastian Bloessl
2013-06-18 16:26:33 +02:00
parent 30449c2f12
commit a6a5a244ef
+2
View File
@@ -228,6 +228,8 @@ int general_work (int noutput_items, gr_vector_int& ninput_items,
if(copied == tx.n_sym) { if(copied == tx.n_sym) {
dout << "received complete frame - decoding" << std::endl; dout << "received complete frame - decoding" << std::endl;
decode(); decode();
in += 48;
i++;
break; break;
} }
} }