Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1650049 > unrolled thread

[PATCH 03/14] mwifiex: reset interrupt status across device reset

Started byBrian Norris <briannorris@chromium.org>
First post2017-05-25 02:20 +0200
Last post2017-05-25 02:20 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH 03/14] mwifiex: reset interrupt status across device reset Brian Norris <briannorris@chromium.org> - 2017-05-25 02:20 +0200

#1650049 — [PATCH 03/14] mwifiex: reset interrupt status across device reset

FromBrian Norris <briannorris@chromium.org>
Date2017-05-25 02:20 +0200
Subject[PATCH 03/14] mwifiex: reset interrupt status across device reset
Message-ID<tKOFs-Qx-19@gated-at.bofh.it>
When resetting the device, we might have queued up interrupts that
didn't get a chance to finish processing. We really don't need to handle
them at this point; we just want to make sure they don't cause us to try
to process old commands from before the device was reset.

Signed-off-by: Brian Norris <briannorris@chromium.org>
---
 drivers/net/wireless/marvell/mwifiex/main.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/net/wireless/marvell/mwifiex/main.c b/drivers/net/wireless/marvell/mwifiex/main.c
index a1e98e36c1ce..3b7316b537ea 100644
--- a/drivers/net/wireless/marvell/mwifiex/main.c
+++ b/drivers/net/wireless/marvell/mwifiex/main.c
@@ -1362,6 +1362,7 @@ static void mwifiex_uninit_sw(struct mwifiex_adapter *adapter)
 
 	adapter->surprise_removed = true;
 	mwifiex_terminate_workqueue(adapter);
+	adapter->int_status = 0;
 
 	/* Stop data */
 	for (i = 0; i < adapter->priv_num; i++) {
-- 
2.13.0.219.gdb65acc882-goog

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web