diff options
author | Uri Mashiach <uri.mashiach@compulab.co.il> | 2017-05-21 14:00:52 (GMT) |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2017-05-21 14:44:04 (GMT) |
commit | 3ce3026a0967350812b8cf246709b65384d2a336 (patch) | |
tree | 24a60f9e65467506d616fb22f2f5effe05e388f4 /lib/time.c | |
parent | a375ff8e14bea0a5cbfff99d6456aa8d9a3320ab (diff) | |
download | u-boot-fsl-qoriq-3ce3026a0967350812b8cf246709b65384d2a336.tar.xz |
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>
Diffstat (limited to 'lib/time.c')
0 files changed, 0 insertions, 0 deletions