diff options
author | Lorenzo Bianconi <lorenzo@kernel.org> | 2021-01-17 22:46:56 +0100 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2021-01-25 16:42:41 +0200 |
commit | f43fcaef87a3ec6e234a20c8606342f33a8bd61d (patch) | |
tree | 112d9eff1dd92162ac1d2deb75f576eadec19b59 | |
parent | cb88d01b67383a095e3f7caeb4cdade5a6cf0417 (diff) |
mt7601u: process tx URBs with status EPROTO properly
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>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/72392e8341aa8591c0b9962661a6ca26b1198f32.1610919534.git.lorenzo@kernel.org
-rw-r--r-- | drivers/net/wireless/mediatek/mt7601u/dma.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/mediatek/mt7601u/dma.c b/drivers/net/wireless/mediatek/mt7601u/dma.c index 46d05f839287..1342cf77ef14 100644 --- a/drivers/net/wireless/mediatek/mt7601u/dma.c +++ b/drivers/net/wireless/mediatek/mt7601u/dma.c @@ -247,6 +247,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", |