diff options
Diffstat (limited to 'drivers/net/myri_sbus.c')
-rw-r--r-- | drivers/net/myri_sbus.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/myri_sbus.c b/drivers/net/myri_sbus.c index b3513ad3b70..8b431308535 100644 --- a/drivers/net/myri_sbus.c +++ b/drivers/net/myri_sbus.c | |||
@@ -716,10 +716,10 @@ static int myri_header(struct sk_buff *skb, struct net_device *dev, | |||
716 | pad[0] = MYRI_PAD_LEN; | 716 | pad[0] = MYRI_PAD_LEN; |
717 | pad[1] = 0xab; | 717 | pad[1] = 0xab; |
718 | 718 | ||
719 | /* Set the protocol type. For a packet of type ETH_P_802_3 we put the length | 719 | /* Set the protocol type. For a packet of type ETH_P_802_3/2 we put the |
720 | * in here instead. It is up to the 802.2 layer to carry protocol information. | 720 | * length in here instead. |
721 | */ | 721 | */ |
722 | if (type != ETH_P_802_3) | 722 | if (type != ETH_P_802_3 && type != ETH_P_802_2) |
723 | eth->h_proto = htons(type); | 723 | eth->h_proto = htons(type); |
724 | else | 724 | else |
725 | eth->h_proto = htons(len); | 725 | eth->h_proto = htons(len); |