parent
05ea87a13f
commit
130413bb0f
@ -1,13 +1,13 @@ |
|||||||
--- a/net80211/ieee80211_input.c
|
--- a/net80211/ieee80211_input.c
|
||||||
+++ b/net80211/ieee80211_input.c
|
+++ b/net80211/ieee80211_input.c
|
||||||
@@ -4421,7 +4421,9 @@
|
@@ -4440,7 +4440,9 @@ ath_eth_type_trans(struct sk_buff *skb,
|
||||||
if (memcmp(eth->h_dest, dev->dev_addr, ETH_ALEN))
|
if (memcmp(eth->h_dest, dev->dev_addr, ETH_ALEN))
|
||||||
skb->pkt_type = PACKET_OTHERHOST;
|
skb->pkt_type = PACKET_OTHERHOST;
|
||||||
|
|
||||||
- return eth->h_proto;
|
- return eth->h_proto;
|
||||||
+ if (ntohs(eth->h_proto) >= 1536)
|
+ if (ntohs(eth->h_proto) >= 1536)
|
||||||
+ return eth->h_proto;
|
+ return eth->h_proto;
|
||||||
+ return htons(ETH_P_802_2);
|
+ return htons(ETH_P_802_2);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in new issue