X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=blobdiff_plain;f=package%2Fmadwifi%2Fpatches%2F390-frame_type.patch;h=71d658b4e54f2f3785ef78f5b1266f32e3b57935;hp=130f3b6d61ea5cff1f87958720f572674ddcba71;hb=01fa49fcaf7f76d875b9e061b2c3dd439e946ac1;hpb=8c2071985709b623765bcde3a4a29bad66eefc33 diff --git a/package/madwifi/patches/390-frame_type.patch b/package/madwifi/patches/390-frame_type.patch index 130f3b6d61..71d658b4e5 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); }