mac: don't change the phy pdu

This commit is contained in:
Bastian Bloessl
2015-04-14 13:18:00 +02:00
parent a8cae8a689
commit 00a6a9c662
+1 -3
View File
@@ -74,9 +74,7 @@ void phy_in (pmt::pmt_t msg) {
const char *mpdu = reinterpret_cast<const char *>(pmt::blob_data(blob));
pmt::pmt_t msdu = pmt::make_blob(mpdu + 24, pmt::blob_length(blob) - 24 - 4);
// update msg
pmt::set_cdr(msg, msdu);
message_port_pub(pmt::mp("app out"), msg);
message_port_pub(pmt::mp("app out"), pmt::cons(pmt::car(msg), msdu));
}
void app_in (pmt::pmt_t msg) {