mc1322x: flush the radio rx queue in the receive process
This commit is contained in:
parent
e9c904a74c
commit
bea643bc4a
1 changed files with 4 additions and 0 deletions
|
@ -280,6 +280,10 @@ PROCESS_THREAD(contiki_maca_process, ev, data)
|
||||||
NETSTACK_RDC.input();
|
NETSTACK_RDC.input();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
/* Call ourself again to handle remaining packets in the queue */
|
||||||
|
if (rx_head != NULL) {
|
||||||
|
process_poll(&contiki_maca_process);
|
||||||
|
}
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue