ath10k: fix tx/rx chainmask init
authorMichal Kazior <michal.kazior@tieto.com>
Thu, 18 Sep 2014 13:21:19 +0000 (15:21 +0200)
committerKalle Valo <kvalo@qca.qualcomm.com>
Tue, 23 Sep 2014 09:30:16 +0000 (12:30 +0300)
commitfdb959c7e408b6b435c999e2fc7d8133fa95863d
tree518fe8e52bef65434c373087f96cf8e6fe4f53db
parent64badcb6d6459cc6f7b46f7d45e44c95ab874337
ath10k: fix tx/rx chainmask init

Firmware reports the number of RF chains so use
that for initialization of supp_{tx,rx}_chainmask
instead of using a macro for 3x3 chips.

This should make tx/rx chainmask reports correct
for chips other than 3x3.

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
drivers/net/wireless/ath/ath10k/wmi.c