[package] acx: remove wrong CONFIG_PCI dep (should have been PCI_SUPPORT, but that...
[openwrt.git] / package / madwifi / patches / 390-frame_type.patch
1 --- a/net80211/ieee80211_input.c
2 +++ b/net80211/ieee80211_input.c
3 @@ -4443,7 +4443,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) || (ntohs(eth->h_proto) < 38))
9 + return eth->h_proto;
10 + return htons(ETH_P_802_2);
11 }
12 #endif
13
This page took 0.04158 seconds and 5 git commands to generate.