ath9k: Fix RX crypto processing
authorSujith Manoharan <c_manoha@qca.qualcomm.com>
Wed, 14 Aug 2013 03:41:12 +0000 (09:11 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 15 Aug 2013 20:08:02 +0000 (16:08 -0400)
commit4a470647415276d43daf9238a5bd70acc2119555
tree0c28ed6101a7624fbbf33df50768308e4ff90370
parent5871d2d787bc2fc45e43c9f8ecabdd2db37ad666
ath9k: Fix RX crypto processing

The keymiss events are valid only in the last descriptor
of a packet. Fix this by making sure that we return
early in case of chained descriptors.

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