Commit 3ce3026a0967350812b8cf246709b65384d2a336
Committed by
Marek Vasut
1 parent
a375ff8e14
Exists in
smarc_8mq_lf_v2020.04
and in
17 other branches
net: usb: mcs7830: fix non-DM ingress path
The mcs7830_recv() (non-DM) function discards good packets and tries to process "bad" packets due to incorrect test condition. Fix the condition and return the proper value as described in function doc. Signed-off-by: Uri Mashiach <uri.mashiach@compulab.co.il> Acked-by: Igor Grinberg <grinberg@compulab.co.il>
Showing 1 changed file with 4 additions and 2 deletions Side-by-side Diff
drivers/usb/eth/mcs7830.c