]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
[netdrvr skge] fix typo, fix build
authorJeff Garzik <jgarzik@pobox.com>
Thu, 1 Dec 2005 09:31:32 +0000 (04:31 -0500)
committerJeff Garzik <jgarzik@pobox.com>
Thu, 1 Dec 2005 09:31:32 +0000 (04:31 -0500)
drivers/net/skge.c

index 96ffcc1666bcd310f6de6c92423cbf9f7c460d97..716467879b9c5e24b254219fc6916d09888dfa05 100644 (file)
@@ -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