From: Rajkumar Manoharan Date: Mon, 11 Jun 2012 06:49:34 +0000 (+0530) Subject: ath9k_hw: program OBS register only when MCI is disabled X-Git-Tag: v3.6-rc1~125^2~57^2~305 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ed6ebd8bc852845e34e8160eed43b29236b1892f;p=profile%2Fivi%2Fkernel-x86-ivi.git ath9k_hw: program OBS register only when MCI is disabled Signed-off-by: Rajkumar Manoharan Signed-off-by: John W. Linville --- diff --git a/drivers/net/wireless/ath/ath9k/hw.c b/drivers/net/wireless/ath/ath9k/hw.c index a9d328c..4ec496d 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);