projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1bde95f
)
ath9k_hw: program OBS register only when MCI is disabled
author
Rajkumar Manoharan
<
[email protected]
>
Mon, 11 Jun 2012 06:49:34 +0000
(12:19 +0530)
committer
John W. Linville
<
[email protected]
>
Wed, 13 Jun 2012 18:35:54 +0000
(14:35 -0400)
Signed-off-by: Rajkumar Manoharan <
[email protected]
>
Signed-off-by: John W. Linville <
[email protected]
>
drivers/net/wireless/ath/ath9k/hw.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/ath/ath9k/hw.c
b/drivers/net/wireless/ath/ath9k/hw.c
index a9d328c955e9da3b05f5c9f9ffe201ae5d102994..4ec496dae0ebdb5908da52632dfcd5f694f241e8 100644
(file)
--- 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);