This commit is contained in:
Carl-Benedikt Krüger 2011-06-29 01:20:53 +02:00
parent 41b1d4d953
commit 0f8f8ac1a9

View file

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