]> git.baikalelectronics.ru Git - kernel.git/commit
ath9k: Handle corrupt descriptors properly
authorSujith Manoharan <c_manoha@qca.qualcomm.com>
Wed, 14 Aug 2013 03:41:20 +0000 (09:11 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 15 Aug 2013 20:08:05 +0000 (16:08 -0400)
commit003aa7e7cf17e2463508b55975be072ded2ef257
treeba19e1fd54a3d58a106b3dbb0ad10875b414bfa4
parent0ef4663802a80b333d6d11f811219892f0e46a66
ath9k: Handle corrupt descriptors properly

The MIC/PHYERR/CRC error bits are valid only for
the last desc. for chained packets. Check this early
in the preprocess() routine and bail out.

Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/recv.c