Skip to content

Commit

Permalink
[netdrvr skge] fix typo, fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeff Garzik committed Dec 1, 2005
1 parent ab80882 commit ea182d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/skge.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ea182d4

Please sign in to comment.