ath9k: Trim rate table
authorSujith Manoharan <c_manoha@qca.qualcomm.com>
Fri, 10 Aug 2012 11:17:23 +0000 (16:47 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 10 Aug 2012 19:27:19 +0000 (15:27 -0400)
commit23d9939459362c555d2ad18f9c036f55594e7fee
treecfbd22b474a2479e5a12b32460b4df0ac229f27c
parentf8a87017f4a9f1638df54dd79d0f5ad1bae51c1d
ath9k: Trim rate table

Remove ctrl_rate, cw40index, sgi_index, ht_index and calculate
the rate index for TX status from the valid_rate_index that
is populated at initialization time.

Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/rc.c
drivers/net/wireless/ath/ath9k/rc.h