commit | 258a3205aeb3e1c6447b85547de65f0383b9e09f | [log] [tgz] |
---|---|---|
author | Uri Mashiach <uri.mashiach@compulab.co.il> | Sun May 21 17:00:52 2017 +0300 |
committer | Marek Vasut <marex@denx.de> | Sun May 21 16:44:04 2017 +0200 |
tree | 24a60f9e65467506d616fb22f2f5effe05e388f4 | |
parent | d6efc225407d1517e47805613688289377058451 [diff] |
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>