wl12xx: discard corrupted packets in RX
authorArik Nemtsov <arik@wizery.com>
Tue, 26 Apr 2011 20:35:40 +0000 (23:35 +0300)
committerLuciano Coelho <coelho@ti.com>
Mon, 2 May 2011 07:27:25 +0000 (10:27 +0300)
commit34c8e3d2bb901b2920d2a8930c0de82e7fefac76
tree8e0edf55792dea5f28e00d54829ffd95b48f53cd
parent33437893025aa3c0195b933ac99ef7de924019f4
wl12xx: discard corrupted packets in RX

When packets arrive with a RX descriptor indicating corruption, discard
them.

In general white-list the RX descriptor status to prevent rouge data
from being sent up.

Signed-off-by: Arik Nemtsov <arik@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
drivers/net/wireless/wl12xx/rx.c