mc1322x: flush the radio rx queue in the receive process

This commit is contained in:
Mariano Alvira 2011-02-23 11:18:13 -08:00
parent e9c904a74c
commit bea643bc4a

View file

@ -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);
}
}; };