mt7601u: process tx URBs with status EPROTO properly
Similar to commit 0e40dbd56d ("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
This commit is contained in:
committed by
Kalle Valo
parent
cb88d01b67
commit
f43fcaef87
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user