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)
commit5871d2d787bc2fc45e43c9f8ecabdd2db37ad666
tree4ab1749be7cdbf11beab33e619d3072b240757cc
parent0cab329d6037775bda6eee6ed742797c868f09cc
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