linux-wireless.vger.kernel.org archive mirror
 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

* Re: [PATCH] mt7601u: process tx URBs with status EPROTO properly
  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
  1 sibling, 0 replies; 3+ messages in thread
From: Jakub Kicinski @ 2021-01-18 16:54 UTC (permalink / raw)
  To: Lorenzo Bianconi; +Cc: linux-wireless, lorenzo.bianconi, z.han

On Sun, 17 Jan 2021 22:46:56 +0100 Lorenzo Bianconi wrote:
> 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>

Acked-by: Jakub Kicinski <kuba@kernel.org>

Thanks!

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

* Re: mt7601u: process tx URBs with status EPROTO properly
  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
  1 sibling, 0 replies; 3+ messages in thread
From: Kalle Valo @ 2021-01-25 14:42 UTC (permalink / raw)
  To: Lorenzo Bianconi; +Cc: linux-wireless, lorenzo.bianconi, kuba, z.han

Lorenzo Bianconi <lorenzo@kernel.org> wrote:

> 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>
> Acked-by: Jakub Kicinski <kuba@kernel.org>

Patch applied to wireless-drivers-next.git, thanks.

f43fcaef87a3 mt7601u: process tx URBs with status EPROTO properly

-- 
https://patchwork.kernel.org/project/linux-wireless/patch/72392e8341aa8591c0b9962661a6ca26b1198f32.1610919534.git.lorenzo@kernel.org/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches


^ permalink raw reply	[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 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).