Commit f43fcaef authored by Lorenzo Bianconi's avatar Lorenzo Bianconi Committed by Kalle Valo

mt7601u: process tx URBs with status EPROTO properly

Similar to commit 0e40dbd5 ("mt7601u: process URBs in status EPROTO
properly"), do not process tx URBs if marked with status set to EPROTO.
Signed-off-by: default avatarLorenzo Bianconi <lorenzo@kernel.org>
Acked-by: default avatarJakub Kicinski <kuba@kernel.org>
Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/72392e8341aa8591c0b9962661a6ca26b1198f32.1610919534.git.lorenzo@kernel.org
parent cb88d01b
...@@ -247,6 +247,7 @@ static void mt7601u_complete_tx(struct urb *urb) ...@@ -247,6 +247,7 @@ static void mt7601u_complete_tx(struct urb *urb)
case -ECONNRESET: case -ECONNRESET:
case -ESHUTDOWN: case -ESHUTDOWN:
case -ENOENT: case -ENOENT:
case -EPROTO:
return; return;
default: default:
dev_err_ratelimited(dev->dev, "tx urb failed: %d\n", dev_err_ratelimited(dev->dev, "tx urb failed: %d\n",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment