Skip to content

Commit

Permalink
[netdrvr skge] fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeff Garzik committed Dec 13, 2005
1 parent be0d9b6 commit 98684a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/skge.c
Original file line number Diff line number Diff line change
Expand Up @@ -2280,7 +2280,7 @@ static int skge_xmit_frame(struct sk_buff *skb, struct net_device *dev)
}

if (unlikely(skge->tx_avail < skb_shinfo(skb)->nr_frags +1)) {
if (!netif_stopped(dev)) {
if (!netif_queue_stopped(dev)) {
netif_stop_queue(dev);

printk(KERN_WARNING PFX "%s: ring full when queue awake!\n",
Expand Down

0 comments on commit 98684a9

Please sign in to comment.