Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 254967
b: refs/heads/master
c: 0d9b6e7
h: refs/heads/master
i:
  254965: 6fcaf2a
  254963: 6c7ae11
  254959: ee87203
v: v3
  • Loading branch information
Michael Thalmeier authored and David S. Miller committed Jul 15, 2011
1 parent 35a27a7 commit de985eb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 62f2a3a48bdc99822a24356e667e52c30df287c9
refs/heads/master: 0d9b6e738a22244d38def847a24e5ee6fcedd898
8 changes: 5 additions & 3 deletions trunk/drivers/net/r6040.c
Original file line number Diff line number Diff line change
Expand Up @@ -677,9 +677,11 @@ static irqreturn_t r6040_interrupt(int irq, void *dev_id)
if (status & RX_FIFO_FULL)
dev->stats.rx_fifo_errors++;

/* Mask off RX interrupt */
misr &= ~RX_INTS;
napi_schedule(&lp->napi);
if (likely(napi_schedule_prep(&lp->napi))) {
/* Mask off RX interrupt */
misr &= ~RX_INTS;
__napi_schedule(&lp->napi);
}
}

/* TX interrupt request */
Expand Down

0 comments on commit de985eb

Please sign in to comment.