mt76: usb: process URBs with status EPROTO properly
authorLorenzo Bianconi <lorenzo@kernel.org>
Fri, 15 Jan 2021 14:18:02 +0000 (15:18 +0100)
committerFelix Fietkau <nbd@nbd.name>
Wed, 27 Jan 2021 16:33:43 +0000 (17:33 +0100)
commit9b0f100c1970f777444c68f5dea2ef5b13a48e4a
tree8d672eae310a358819cb72113d28760eaa8cf77a
parent2ab33b8d7d7958d0722d26edfe3ad860a69534b4
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>
drivers/net/wireless/mediatek/mt76/usb.c