[ar7] revert part of r16112, the setup.c part needs more testing
[openwrt.git] / package / madwifi / patches / 390-frame_type.patch
1 --- a/net80211/ieee80211_input.c
2 +++ b/net80211/ieee80211_input.c
3 @@ -4440,7 +4440,9 @@ ath_eth_type_trans(struct sk_buff *skb,
4 if (memcmp(eth->h_dest, dev->dev_addr, ETH_ALEN))
5 skb->pkt_type = PACKET_OTHERHOST;
6
7 - return eth->h_proto;
8 + if (ntohs(eth->h_proto) >= 1536)
9 + return eth->h_proto;
10 + return htons(ETH_P_802_2);
11 }
12 #endif
13
This page took 0.05761 seconds and 5 git commands to generate.