projects
/
platform
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Move MPC512x_FEC driver to drivers/net
[platform/kernel/u-boot.git]
/
common
/
crc16.c
diff --git
a/common/crc16.c
b/common/crc16.c
index
3cef106
..
6904365
100644
(file)
--- a/
common/crc16.c
+++ b/
common/crc16.c
@@
-101,7
+101,7
@@
cyg_crc16(unsigned char *buf, int len)
cksum = 0;
for (i = 0; i < len; i++) {
-
cksum = crc16_tab[((cksum>>8) ^ *buf++) & 0xFF] ^ (cksum << 8);
+ cksum = crc16_tab[((cksum>>8) ^ *buf++) & 0xFF] ^ (cksum << 8);
}
return cksum;
}