ath10k: fill HT/VHT MCS rateset only for configured chainmask
authorRajkumar Manoharan <rmanohar@qti.qualcomm.com>
Tue, 27 Oct 2015 12:21:12 +0000 (17:51 +0530)
committerKalle Valo <kvalo@qca.qualcomm.com>
Thu, 29 Oct 2015 11:00:41 +0000 (13:00 +0200)
commit7a1d70ab05488146d20cfc8fb9e4acfd132c7bf5
treebbc3373cf9f2b226b740410f3e36b5216151506d
parent166de3f1895dfc49d1f16cc39fd76dab6d7961d2
ath10k: fill HT/VHT MCS rateset only for configured chainmask

HT/VHT MCS rateset should be filled only for configured chainmask
rather that max supported chainmask. Fix that by checking configured
chainmask while filling HT/VHT MCS rate map.

Signed-off-by: Rajkumar Manoharan <rmanohar@qti.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/mac.c