]> git.baikalelectronics.ru Git - kernel.git/commit
ath9k_hw: Fix MCI init for AGC calibration
authorSujith Manoharan <c_manoha@qca.qualcomm.com>
Mon, 7 Jan 2013 08:23:47 +0000 (13:53 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 9 Jan 2013 19:37:10 +0000 (14:37 -0500)
commit187be6d6f3f69d9b15c4c141730f518009267a77
tree3e71464c9cba105d6fbb489a6bdf87f07f1f419b
parentbee9dce64b4713196a8ceb571ecf2730e8f18846
ath9k_hw: Fix MCI init for AGC calibration

When AGC calibration is to be done, a GPM message with the
payload, MCI_GPM_WLAN_CAL_REQ has to be sent. Currently this falls
within the IQ-CAL code block which is incorrect. Fix this by using
a separate variable to decide when IQ-CAL is to be done separately
and call ar9003_mci_init_cal_req correctly.

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