All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] mt7601u: process tx URBs with status EPROTO properly
@ 2021-01-17 21:46 Lorenzo Bianconi
  2021-01-18 16:54 ` Jakub Kicinski
  2021-01-25 14:42 ` Kalle Valo
  0 siblings, 2 replies; 3+ messages in thread
From: Lorenzo Bianconi @ 2021-01-17 21:46 UTC (permalink / raw)
  To: linux-wireless; +Cc: lorenzo.bianconi, kuba, z.han

Similar to commit '0e40dbd56d67 ("mt7601u: process URBs in status EPROTO
properly")', do not process tx URBs if marked with status set to EPROTO.

Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
---
 drivers/net/wireless/mediatek/mt7601u/dma.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/net/wireless/mediatek/mt7601u/dma.c b/drivers/net/wireless/mediatek/mt7601u/dma.c
index 234e5059e5e6..85bda46d4cf9 100644
--- a/drivers/net/wireless/mediatek/mt7601u/dma.c
+++ b/drivers/net/wireless/mediatek/mt7601u/dma.c
@@ -237,6 +237,7 @@ static void mt7601u_complete_tx(struct urb *urb)
 	case -ECONNRESET:
 	case -ESHUTDOWN:
 	case -ENOENT:
+	case -EPROTO:
 		return;
 	default:
 		dev_err_ratelimited(dev->dev, "tx urb failed: %d\n",
-- 
2.29.2


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

end of thread, other threads:[~2021-01-25 14:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-01-17 21:46 [PATCH] mt7601u: process tx URBs with status EPROTO properly Lorenzo Bianconi
2021-01-18 16:54 ` Jakub Kicinski
2021-01-25 14:42 ` 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.