]> git.baikalelectronics.ru Git - kernel.git/commit
ath9k: Discard invalid frames early
authorSujith Manoharan <c_manoha@qca.qualcomm.com>
Wed, 14 Aug 2013 03:41:11 +0000 (09:11 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 15 Aug 2013 20:08:01 +0000 (16:08 -0400)
commitd9e318a04f56288172d586427155711b7460067b
tree4ab1749be7cdbf11beab33e619d3072b240757cc
parent9263886cbede61c4b16a65b665d4322743c9122b
ath9k: Discard invalid frames early

Frames with invalid or zero length can be discarded
early, there is no need to check the crypto bits.

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