Skip to content
Commit 3ce3026a authored by Uri Mashiach's avatar Uri Mashiach Committed by Marek Vasut
Browse files

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: default avatarUri Mashiach <uri.mashiach@compulab.co.il>
Acked-by: default avatarIgor Grinberg <grinberg@compulab.co.il>
parent a375ff8e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment