ath9k: Return early for invalid rates
authorSujith Manoharan <c_manoha@qca.qualcomm.com>
Mon, 3 Jun 2013 03:49:23 +0000 (09:19 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 3 Jun 2013 19:55:45 +0000 (15:55 -0400)
commit74a97755f2c2687207e3b1e9e77765b475f7e4e4
tree7af81b1df0f26a60d1390e7e5dce10a89a13f49a
parentbda96e8c6a751d8f57a5564e18adf33f2a2d857e
ath9k: Return early for invalid rates

Process and update the internal RSSI average, which
is used by ANI, after verifying that the received
frame has valid rate information.

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