ath9k-devel.lists.ath9k.org archive mirror
 help / color / mirror / Atom feed
* [ath9k-devel] [PATCH] ath9k: Proper TX99 interrupt ref count
@ 2016-05-19 15:15 Eduardo Abinader
  2016-05-28  8:24 ` [ath9k-devel] " Kalle Valo
  0 siblings, 1 reply; 3+ messages in thread
From: Eduardo Abinader @ 2016-05-19 15:15 UTC (permalink / raw)
  To: ath9k-devel

On TX99 mode, instead of assuming interrupt mask non ATH9K_INT_GLOBAL,
let ath9k_hw_disable_interrupts proper set interrupt ref count.
This prevents some PCI PERR occurring specialy when setting 11b and n rates.

Signed-off-by: Eduardo Abinader <eduardo.abinader@riverbed.com>
---
 drivers/net/wireless/ath/ath9k/tx99.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/net/wireless/ath/ath9k/tx99.c b/drivers/net/wireless/ath/ath9k/tx99.c
index ac4781f..7f3643e 100644
--- a/drivers/net/wireless/ath/ath9k/tx99.c
+++ b/drivers/net/wireless/ath/ath9k/tx99.c
@@ -132,7 +132,6 @@ static int ath9k_tx99_init(struct ath_softc *sc)
 	ath9k_ps_wakeup(sc);
 
 	ath9k_hw_disable_interrupts(ah);
-	atomic_set(&ah->intr_ref_cnt, -1);
 	ath_drain_all_txq(sc);
 	ath_stoprecv(sc);
 
-- 
2.5.0

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [ath9k-devel] ath9k: Proper TX99 interrupt ref count
  2016-05-19 15:15 [ath9k-devel] [PATCH] ath9k: Proper TX99 interrupt ref count Eduardo Abinader
@ 2016-05-28  8:24 ` Kalle Valo
  0 siblings, 0 replies; 3+ messages in thread
From: Kalle Valo @ 2016-05-28  8:24 UTC (permalink / raw)
  To: ath9k-devel

Eduardo Abinader <eabinader@ocedo.com> wrote:
> On TX99 mode, instead of assuming interrupt mask non ATH9K_INT_GLOBAL,
> let ath9k_hw_disable_interrupts proper set interrupt ref count.
> This prevents some PCI PERR occurring specialy when setting 11b and n rates.
> 
> Signed-off-by: Eduardo Abinader <eduardo.abinader@riverbed.com>

Thanks, 1 patch applied to ath.git:

8a0a36cf98db ath9k: Proper TX99 interrupt ref count

-- 
Sent by pwcli
https://patchwork.kernel.org/patch/9127799/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [ath9k-devel] [PATCH] ath9k: Proper TX99 interrupt ref count
@ 2016-05-20  7:48 Eduardo Abinader
  0 siblings, 0 replies; 3+ messages in thread
From: Eduardo Abinader @ 2016-05-20  7:48 UTC (permalink / raw)
  To: ath9k-devel

On TX99 mode, instead of assuming interrupt mask non ATH9K_INT_GLOBAL,
let ath9k_hw_disable_interrupts proper set interrupt ref count.
This prevents some PCI PERR occurring specialy when setting 11b and n rates.

Signed-off-by: Eduardo Abinader <eduardo.abinader@riverbed.com>
---
 drivers/net/wireless/ath/ath9k/tx99.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/net/wireless/ath/ath9k/tx99.c b/drivers/net/wireless/ath/ath9k/tx99.c
index ac4781f..7f3643e 100644
--- a/drivers/net/wireless/ath/ath9k/tx99.c
+++ b/drivers/net/wireless/ath/ath9k/tx99.c
@@ -132,7 +132,6 @@ static int ath9k_tx99_init(struct ath_softc *sc)
 	ath9k_ps_wakeup(sc);
 
 	ath9k_hw_disable_interrupts(ah);
-	atomic_set(&ah->intr_ref_cnt, -1);
 	ath_drain_all_txq(sc);
 	ath_stoprecv(sc);
 
-- 
2.5.0

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-05-28  8:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-19 15:15 [ath9k-devel] [PATCH] ath9k: Proper TX99 interrupt ref count Eduardo Abinader
2016-05-28  8:24 ` [ath9k-devel] " Kalle Valo
2016-05-20  7:48 [ath9k-devel] [PATCH] " Eduardo Abinader

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).