瀏覽代碼

[netdrvr skge] fix typo, fix build

Jeff Garzik 19 年之前
父節點
當前提交
ea182d4aef
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/net/skge.c

+ 1 - 1
drivers/net/skge.c

@@ -2305,7 +2305,7 @@ static int skge_xmit_frame(struct sk_buff *skb, struct net_device *dev)
 		/* This seems backwards, but it is what the sk98lin
 		/* This seems backwards, but it is what the sk98lin
 		 * does.  Looks like hardware is wrong?
 		 * does.  Looks like hardware is wrong?
 		 */
 		 */
-		if (skb->h.ipih->protocol == IPPROTO_UDP
+		if (skb->h.ipiph->protocol == IPPROTO_UDP
 	            && hw->chip_rev == 0 && hw->chip_id == CHIP_ID_YUKON)
 	            && hw->chip_rev == 0 && hw->chip_id == CHIP_ID_YUKON)
 			control = BMU_TCP_CHECK;
 			control = BMU_TCP_CHECK;
 		else
 		else