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 <lorenzo@kernel.org> Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
parent
2ab33b8d7d
commit
9b0f100c19
@ -612,6 +612,7 @@ static void mt76u_complete_rx(struct urb *urb)
|
||||
case -ECONNRESET:
|
||||
case -ESHUTDOWN:
|
||||
case -ENOENT:
|
||||
case -EPROTO:
|
||||
return;
|
||||
default:
|
||||
dev_err_ratelimited(dev->dev, "rx urb failed: %d\n",
|
||||
|
Loading…
x
Reference in New Issue
Block a user