summaryrefslogtreecommitdiff
path: root/lib/string.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2017-04-06 01:23:28 +0300
committerTom Rini <trini@konsulko.com>2017-05-10 03:17:24 +0300
commit20b429b013c97cb3d253274003d52bbe8c9c4da1 (patch)
treefdac265d99d9b6b2b552b252039f7f9b17798978 /lib/string.c
parentdd9999d5f4d3a0354c959fa3bccc0957a1164bf5 (diff)
downloadu-boot-20b429b013c97cb3d253274003d52bbe8c9c4da1.tar.xz
net: smsc95xx: Correct free_pkt() implementation
On further review this returns the wrong packet length from the driver. It may not be noticed since protocols will take care of it. Fix it by subtracting the header length from the packet length returned. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'lib/string.c')
0 files changed, 0 insertions, 0 deletions