aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/b44.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/b44.c')
-rw-r--r--drivers/net/b44.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/b44.c b/drivers/net/b44.c
index 2c7a32eb92a5..934a95091dc3 100644
--- a/drivers/net/b44.c
+++ b/drivers/net/b44.c
@@ -875,7 +875,7 @@ static int b44_poll(struct napi_struct *napi, int budget)
875 } 875 }
876 876
877 if (work_done < budget) { 877 if (work_done < budget) {
878 netif_rx_complete(netdev, napi); 878 netif_rx_complete(napi);
879 b44_enable_ints(bp); 879 b44_enable_ints(bp);
880 } 880 }
881 881
@@ -907,13 +907,13 @@ static irqreturn_t b44_interrupt(int irq, void *dev_id)
907 goto irq_ack; 907 goto irq_ack;
908 } 908 }
909 909
910 if (netif_rx_schedule_prep(dev, &bp->napi)) { 910 if (netif_rx_schedule_prep(&bp->napi)) {
911 /* NOTE: These writes are posted by the readback of 911 /* NOTE: These writes are posted by the readback of
912 * the ISTAT register below. 912 * the ISTAT register below.
913 */ 913 */
914 bp->istat = istat; 914 bp->istat = istat;
915 __b44_disable_ints(bp); 915 __b44_disable_ints(bp);
916 __netif_rx_schedule(dev, &bp->napi); 916 __netif_rx_schedule(&bp->napi);
917 } else { 917 } else {
918 printk(KERN_ERR PFX "%s: Error, poll already scheduled\n", 918 printk(KERN_ERR PFX "%s: Error, poll already scheduled\n",
919 dev->name); 919 dev->name);