ath9k: Fix RX packet counter
authorSujith Manoharan <c_manoha@qca.qualcomm.com>
Wed, 14 Aug 2013 03:41:17 +0000 (09:11 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 15 Aug 2013 20:08:04 +0000 (16:08 -0400)
commita5525d9c8246cad653858044ccfd8a16143e84f6
tree1f182dd3e1fc54cdd4cddd2bc657e38588307466
parent5e85a32aca03aba3ce7e7123943b4529d2969a95
ath9k: Fix RX packet counter

Handle chained descriptors and increment the RX counter
only for valid packets. Since this is used only by MCI,
use CONFIG_ATH9K_BTCOEX_SUPPORT.

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