浏览代码

[netdrvr skge] fix build

Jeff Garzik 19 年之前
父节点
当前提交
98684a9d91
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/net/skge.c

+ 1 - 1
drivers/net/skge.c

@@ -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",