]> git.baikalelectronics.ru Git - kernel.git/commit
ath9k: Remove incorrect diversity initialization
authorSujith Manoharan <c_manoha@qca.qualcomm.com>
Mon, 16 Sep 2013 05:07:01 +0000 (10:37 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 26 Sep 2013 19:13:50 +0000 (15:13 -0400)
commitb5cb55b8f63764b48f9b76dd01640d27fa240370
treeebc9dc55568ab0ceef24fac2b1dc279ce8d25a34
parent0bd15d90212f0d2af6c6d6403baee83617819341
ath9k: Remove incorrect diversity initialization

Fast antenna diversity is required only for single chain
chips and the diversity initialization is done in the
per-family board setup routines. Enabling of diversity
should be done based on the calibrated EEPROM/OTP data,
doing it for all chips is incorrect.

Remove the code that sets the fast_div bit for all cards, since
the documentation for the AR_PHY_CCK_DETECT register says:

reg 642: sig_detect_cck
enable_ant_fast_div : Only used for single chain chips.

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