提交 ea182d4a 编写于 作者: J Jeff Garzik

[netdrvr skge] fix typo, fix build

上级 ab80882b
......@@ -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
* 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)
control = BMU_TCP_CHECK;
else
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册