[PATCH] orinoco: always use 802.11 header for rx processing
authorChristoph Hellwig <hch@lst.de>
Sat, 18 Jun 2005 23:28:02 +0000 (01:28 +0200)
committerJeff Garzik <jgarzik@pobox.com>
Mon, 27 Jun 2005 04:23:55 +0000 (00:23 -0400)
commit8f2abf4430ef2a131926a537ee6325dc43b0ec28
treec476955d07cc82b14c1a5b004b25a3961c05a028
parent95dd91fbd8d3c788ef93bc94b4b600889e04dba1
[PATCH] orinoco: always use 802.11 header for rx processing

If the frame has ToDS flag set, mark it by setting skb->pkt_type to
PACKET_OTHERHOST, so that applications unaware of promiscous mode won't get
uplink (STA->AP) packets for STA->STA transmissions relayed by the AP.
Thanks to John Denker and David Gibson for finding the problem and the
solution.

Patch from Pavel Roskin
drivers/net/wireless/orinoco.c