diff options
author | Rajkumar Manoharan <rmanohar@qca.qualcomm.com> | 2012-06-11 12:19:34 +0530 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-06-13 14:35:54 -0400 |
commit | ed6ebd8bc852845e34e8160eed43b29236b1892f (patch) | |
tree | 4e72ada6c2e035b15cdfd287405866c9bd73b21b /drivers/net/wireless/ath | |
parent | 1bde95fa7ed84094d0606d9e79356a9dd8d0e01b (diff) | |
download | linux-3.10-ed6ebd8bc852845e34e8160eed43b29236b1892f.tar.gz linux-3.10-ed6ebd8bc852845e34e8160eed43b29236b1892f.tar.bz2 linux-3.10-ed6ebd8bc852845e34e8160eed43b29236b1892f.zip |
ath9k_hw: program OBS register only when MCI is disabled
Signed-off-by: Rajkumar Manoharan <rmanohar@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/hw.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath9k/hw.c b/drivers/net/wireless/ath/ath9k/hw.c index a9d328c955e..4ec496dae0e 100644 --- a/drivers/net/wireless/ath/ath9k/hw.c +++ b/drivers/net/wireless/ath/ath9k/hw.c @@ -1915,7 +1915,8 @@ int ath9k_hw_reset(struct ath_hw *ah, struct ath9k_channel *chan, ath9k_hw_set_dma(ah); - REG_WRITE(ah, AR_OBS, 8); + if (!ath9k_hw_mci_is_enabled(ah)) + REG_WRITE(ah, AR_OBS, 8); if (ah->config.rx_intr_mitigation) { REG_RMW_FIELD(ah, AR_RIMT, AR_RIMT_LAST, 500); |