ath10k: simplify fixed rate selection
authorMichal Kazior <michal.kazior@tieto.com>
Mon, 30 Mar 2015 06:51:56 +0000 (09:51 +0300)
committerKalle Valo <kvalo@qca.qualcomm.com>
Mon, 30 Mar 2015 12:09:32 +0000 (15:09 +0300)
commitaf00148f63af1b537dd86d46ef468da8e54c3678
tree36e5e760324cefcea66f448ce5e71c68e17507e5
parent6fd4bd26a013234d5b0dbbe13d4f823c884f3dcd
ath10k: simplify fixed rate selection

Use the existing ieee80211_rate array instead of
definining separate one. This gets rid of the ugly
4-index offset when dealing with 5GHz band.

Signed-off-by: Michal Kazior <michal.kazior@tieto.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/mac.c