From: Jeff Garzik Date: Thu, 1 Dec 2005 09:31:32 +0000 (-0500) Subject: [netdrvr skge] fix typo, fix build X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ea182d4aefa3a27847d890b1592a608d1180aa45;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git [netdrvr skge] fix typo, fix build --- diff --git a/drivers/net/skge.c b/drivers/net/skge.c index 96ffcc1666bc..716467879b9c 100644 --- a/drivers/net/skge.c +++ b/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 * 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