summaryrefslogtreecommitdiffstats
path: root/package/madwifi/patches
diff options
context:
space:
mode:
Diffstat (limited to 'package/madwifi/patches')
-rw-r--r--package/madwifi/patches/390-frame_type.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/madwifi/patches/390-frame_type.patch b/package/madwifi/patches/390-frame_type.patch
index 130f3b6d6..71d658b4e 100644
--- a/package/madwifi/patches/390-frame_type.patch
+++ b/package/madwifi/patches/390-frame_type.patch
@@ -5,7 +5,7 @@
skb->pkt_type = PACKET_OTHERHOST;
- return eth->h_proto;
-+ if (ntohs(eth->h_proto) >= 1536)
++ if ((ntohs(eth->h_proto) >= 1536) || (ntohs(eth->h_proto) < 38))
+ return eth->h_proto;
+ return htons(ETH_P_802_2);
}