ath9k_common: move the rate status setting into ath9k_process_rate()
authorLuis R. Rodriguez <lrodriguez@atheros.com>
Fri, 7 May 2010 02:41:12 +0000 (22:41 -0400)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 7 May 2010 18:57:16 +0000 (14:57 -0400)
commit8e1559949928d4d8bfe044bfcf57879faff82e19
treea1fbbf54e2092a150a1df4ed577765142037f9e4
parentc809e86c11a64488acc85ddf12ece3c9b879ccb6
ath9k_common: move the rate status setting into ath9k_process_rate()

This has no real functional change, this just moves the setting the
the mac80211 rate index into ath9k_process_rate(). This allows us
to eventually make ath9k_process_rate() return a negative value
in case we have detected a specific case rate situation which should
have been ignored.

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/common.c