...
This commit is contained in:
parent
1e7a3654e5
commit
0a79f03ccf
1 changed files with 4 additions and 7 deletions
|
@ -1120,13 +1120,6 @@ int mmnif_poll(void* e)
|
|||
unsigned int diff = mmnif_timestamp();
|
||||
unsigned int tmp32 = 0;
|
||||
|
||||
while(!mmnif_dev);
|
||||
|
||||
#ifdef DEBUG_MMNIF
|
||||
DEBUGPRINTF("Polling for work to do!!!! ONBBBB 0x%.8X BBBB\n\n",mmnif->rx_buff);
|
||||
#endif
|
||||
|
||||
|
||||
if (!mmnif_dev)
|
||||
{
|
||||
DEBUGPRINTF("mmnif_poll(): the driver is not initialized yet\n");
|
||||
|
@ -1135,6 +1128,10 @@ int mmnif_poll(void* e)
|
|||
|
||||
mmnif = (mmnif_t*) mmnif_dev->state;
|
||||
|
||||
#ifdef DEBUG_MMNIF
|
||||
DEBUGPRINTF("Polling for work to do!!!! ONBBBB 0x%.8X BBBB\n\n",mmnif->rx_buff);
|
||||
#endif
|
||||
|
||||
/*run while driver is up*/
|
||||
while (active)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue