error searching

This commit is contained in:
Carl-Benedikt Krüger 2011-07-07 17:39:57 +02:00
parent dd4cbb6d4f
commit f1b70611b0

View file

@ -78,7 +78,7 @@ extern HANDLE hProc;
/* decide whether it's polling mode or not /* decide whether it's polling mode or not
*/ */
static int no_irq = 0; static int no_irq = 1;
/* this will be set by open() and close() and shows wether the driver is running or not /* this will be set by open() and close() and shows wether the driver is running or not
*/ */
@ -1144,7 +1144,6 @@ static int mmnif_wait(struct netif* netif, uint32_t poll, int budget)
} }
npackets++; npackets++;
pbuf_free(p);
} }
/* Note : i will add an return error wich indicates that /* Note : i will add an return error wich indicates that
@ -1212,6 +1211,7 @@ int mmnif_poll(void* e)
#endif #endif
sem_wait(&mmnif->com_poll); sem_wait(&mmnif->com_poll);
} }
mmnif->stats.pll_empty = 0;
} }
mmnif->stats.pll_empty=0; mmnif->stats.pll_empty=0;
mmnif_rx(mmnif_dev); mmnif_rx(mmnif_dev);