]> git.baikalelectronics.ru Git - kernel.git/commit
ath9k: Fix NF calibration for single stream cards
authorSujith Manoharan <c_manoha@qca.qualcomm.com>
Mon, 16 Sep 2013 05:06:59 +0000 (10:36 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 26 Sep 2013 19:13:49 +0000 (15:13 -0400)
commitd5f44354832a65ae3fdccd6474f481845b396ea6
tree979e4c9ba45032c31fafcec614c90250baaa1d11
parentbe8ed64ee76fce1138676df108b6af4ef6559492
ath9k: Fix NF calibration for single stream cards

Rather than using the chip ID to read only chain-0 CCA
registers and avoid reading chain-1, use the RX chainmask
instead. There are some 1-stream PCI devices based on AR9287
such as TL-WN751ND. Improper NF calibration might result in
DMA errors/timeouts.

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