mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
mt76: usb: process URBs with status EPROTO properly
Similar to commit '0e40dbd56d67 ("mt7601u: process URBs in status EPROTO
properly")', do no schedule rx_worker for urb marked with status set
-EPROTO
Signed-off-by: Lorenzo Bianconi <[email protected]>
This commit is contained in:
committed by
Felix Fietkau
parent
4c8a09cc45
commit
65abbcd9f6
@@ -612,6 +612,7 @@ static void mt76u_complete_rx(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, "rx urb failed: %d\n",
|
dev_err_ratelimited(dev->dev, "rx urb failed: %d\n",
|
||||||
|
|||||||
Reference in New Issue
Block a user