]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit09063f3005c3cb2c53260d18d86e06c59abd8930
tree518fe8e52bef65434c373087f96cf8e6fe4f53db
parentf77d0a3ff131b56e585f7034ed9c6e82dce11fd8
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