projects
/
openwrt.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[ar71xx] register GPIO buttons on the AP83 board
[openwrt.git]
/
package
/
madwifi
/
patches
/
390-frame_type.patch
1
--- a/net80211/ieee80211_input.c
2
+++ b/net80211/ieee80211_input.c
3
@@ -4421,7 +4421,9 @@
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.054008 seconds
and
5
git commands to generate.