* [PATCH] ath11k: fix target assert when unload driver
@ 2019-05-08 14:45 Venkateswara Naralasetty
2019-05-13 14:50 ` Kalle Valo
0 siblings, 1 reply; 2+ messages in thread
From: Venkateswara Naralasetty @ 2019-05-08 14:45 UTC (permalink / raw)
To: ath11k; +Cc: Venkateswara Naralasetty
Currently ath11k_ahb_ext_irq_disable() called before ath11k_mac_unregister
which will disable napi before mac_unregister and still we might receive
packets on all active devices which results reo_dest_ring full.
Fix this issue by moving ath11k_ahb_ext_irq_disable() after
ath11k_mac_unregister().
Signed-off-by: Venkateswara Naralasetty <vnaralas@codeaurora.org>
---
drivers/net/wireless/ath/ath11k/core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/wireless/ath/ath11k/core.c b/drivers/net/wireless/ath/ath11k/core.c
index dc56df5..e3e6b64 100644
--- a/drivers/net/wireless/ath/ath11k/core.c
+++ b/drivers/net/wireless/ath/ath11k/core.c
@@ -486,6 +486,7 @@ static int ath11k_core_pdev_create(struct ath11k_base *sc)
static void ath11k_core_pdev_destroy(struct ath11k_base *sc)
{
ath11k_mac_unregister(sc);
+ ath11k_ahb_ext_irq_disable(sc);
ath11k_dp_pdev_free(sc);
}
@@ -781,7 +782,6 @@ void ath11k_core_deinit(struct ath11k_base *sc)
{
mutex_lock(&sc->core_lock);
- ath11k_ahb_ext_irq_disable(sc);
ath11k_core_pdev_destroy(sc);
ath11k_core_stop(sc);
--
2.7.4
_______________________________________________
ath11k mailing list
ath11k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath11k
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-05-13 14:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-05-08 14:45 [PATCH] ath11k: fix target assert when unload driver Venkateswara Naralasetty
2019-05-13 14:50 ` Kalle Valo
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.