Skip to content

Commit

Permalink
[PATCH] skge: remember to run netif_poll_disable()
Browse files Browse the repository at this point in the history
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@axis.com>
Cc: Stephen Hemminger <shemminger@osdl.org>
Cc: Jeff Garzik <jeff@garzik.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
  • Loading branch information
Edgar E. Iglesias authored and Jeff Garzik committed Aug 19, 2006
1 parent b68a60e commit 239e44e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/net/skge.c
Original file line number Diff line number Diff line change
Expand Up @@ -2211,6 +2211,7 @@ static int skge_up(struct net_device *dev)
skge_write8(hw, Q_ADDR(rxqaddr[port], Q_CSR), CSR_START | CSR_IRQ_CL_F);
skge_led(skge, LED_MODE_ON);

netif_poll_enable(dev);
return 0;

free_rx_ring:
Expand Down Expand Up @@ -2279,6 +2280,7 @@ static int skge_down(struct net_device *dev)

skge_led(skge, LED_MODE_OFF);

netif_poll_disable(dev);
skge_tx_clean(skge);
skge_rx_clean(skge);

Expand Down

0 comments on commit 239e44e

Please sign in to comment.