You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
378 B
13 lines
378 B
--- a/net80211/ieee80211_input.c
|
|
+++ b/net80211/ieee80211_input.c
|
|
@@ -4441,7 +4441,9 @@ ath_eth_type_trans(struct sk_buff *skb,
|
|
if (memcmp(eth->h_dest, dev->dev_addr, ETH_ALEN))
|
|
skb->pkt_type = PACKET_OTHERHOST;
|
|
|
|
- return eth->h_proto;
|
|
+ if ((ntohs(eth->h_proto) >= 1536) || (ntohs(eth->h_proto) < 38))
|
|
+ return eth->h_proto;
|
|
+ return htons(ETH_P_802_2);
|
|
}
|
|
#endif
|
|
|
|
|