diff --git a/drivers/net/mmnif.c b/drivers/net/mmnif.c index 73508900..58faa2ed 100644 --- a/drivers/net/mmnif.c +++ b/drivers/net/mmnif.c @@ -1093,7 +1093,6 @@ static int mmnif_wait(struct netif* netif, uint32_t poll, int budget) */ /* full packet send to tcpip_thread to process */ - DEBUGPRINTF("PROCESSING PACKET"); if ((err = mmnif_dev->input(p, mmnif_dev)) != ERR_OK) { DEBUGPRINTF("mmnif_poll: IP input error\n"); @@ -1160,8 +1159,9 @@ int mmnif_poll(void* e) */ } mmnif->stats.pll_empty--; - udelay(30000); +// udelay(30000); mmnif_rx(mmnif_dev); + mmnif_wait(mmnif_dev,0,MMNIF_WORKER_BUDGET); } return NULL; @@ -1250,7 +1250,7 @@ int mmnif_open() /* Start the device worker thread wich actually processes the incoming * packet's this is not done in the "interrupt handler" to shorten them up */ - mmnif_worker_schedule(); +// mmnif_worker_schedule(); #ifdef DEBUG_MMNIF DEBUGPRINTF("mmnif_dev is open\n");