diff mbox series

mt7601u: process tx URBs with status EPROTO properly

Message ID 72392e8341aa8591c0b9962661a6ca26b1198f32.1610919534.git.lorenzo@kernel.org
State New
Headers show
Series mt7601u: process tx URBs with status EPROTO properly | expand

Commit Message

Lorenzo Bianconi Jan. 17, 2021, 9:46 p.m. UTC
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(+)

Comments

Jakub Kicinski Jan. 18, 2021, 4:54 p.m. UTC | #1
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!
Kalle Valo Jan. 25, 2021, 2:42 p.m. UTC | #2
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
diff mbox series

Patch

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",