--- wvlan_cs.c.linksysbad Fri Aug 24 09:59:15 2001 +++ wvlan_cs.c Fri Sep 21 12:29:46 2001 @@ -2555,14 +2555,18 @@ // Add Ethernet-II frame decapsulation, because // HCF-light doesn't support that. - if (local->ifb.IFB_RxStat == 0x2000 || local->ifb.IFB_RxStat == 0x4000) - { +//The Linksys BEFW11S4 hub add a SNAP header that this driver does not +//successfully remove. This hardcoded KLUDGE allows the Wavelan gold +//card to communicate on a Linksys wireless lan. "Patch" courtesy +//HD Moore , submitted by William Stearns +// if (local->ifb.IFB_RxStat == 0x2000 || local->ifb.IFB_RxStat == 0x4000) +// { hcf_get_data(&local->ifb, 0, p, 12); hcf_get_data(&local->ifb, 12+sizeof(snap_header), p+12, len-12-sizeof(snap_header)); skb_trim(skb, len-sizeof(snap_header)); - } - else - hcf_get_data(&local->ifb, 0, p, len); +// } +// else +// hcf_get_data(&local->ifb, 0, p, len); skb->dev = dev; skb->protocol = eth_type_trans(skb, dev);