add rx_time parameter and fill with *MACA_TIMESTAMP

This commit is contained in:
Mariano Alvira 2011-02-18 12:35:20 -05:00
parent c0b21702ed
commit 5012757673
3 changed files with 3 additions and 1 deletions

View file

@ -615,6 +615,7 @@ void maca_isr(void) {
*MACA_CLRIRQ = (1 << maca_irq_di);
dma_rx->length = *MACA_GETRXLVL - 2; /* packet length does not include FCS */
dma_rx->lqi = get_lqi();
dma_rx->rx_time = *MACA_TIMESTAMP;
/* check if received packet needs an ack */
if(dma_rx->data[1] & 0x20) {