2008-12-02 15:34:17 +02:00
|
|
|
--- a/net80211/ieee80211_input.c
|
|
|
|
+++ b/net80211/ieee80211_input.c
|
2009-09-14 13:45:34 +03:00
|
|
|
@@ -4441,7 +4441,9 @@ ath_eth_type_trans(struct sk_buff *skb,
|
2008-12-02 15:34:17 +02:00
|
|
|
if (memcmp(eth->h_dest, dev->dev_addr, ETH_ALEN))
|
|
|
|
skb->pkt_type = PACKET_OTHERHOST;
|
2008-12-04 21:54:16 +02:00
|
|
|
|
2008-12-02 15:34:17 +02:00
|
|
|
- return eth->h_proto;
|
2009-05-31 20:15:09 +03:00
|
|
|
+ if ((ntohs(eth->h_proto) >= 1536) || (ntohs(eth->h_proto) < 38))
|
2008-12-02 15:34:17 +02:00
|
|
|
+ return eth->h_proto;
|
|
|
|
+ return htons(ETH_P_802_2);
|
|
|
|
}
|
|
|
|
#endif
|
2008-12-04 21:54:16 +02:00
|
|
|
|