summaryrefslogtreecommitdiffstats
path: root/common/crc16.c
diff options
context:
space:
mode:
authorJon Loeliger <jdl@freescale.com>2006-08-09 13:36:54 -0500
committerJon Loeliger <jdl@freescale.com>2006-08-09 13:36:54 -0500
commit281f69ede28cd3d8be5d62a96b5a0b73e6065858 (patch)
tree8f1a0f42ce7d9c66d0ff2ecf93c9b069cbc68cc0 /common/crc16.c
parent870cbeaa45ccdbd6566882741da9f82433bd4a86 (diff)
parent6587f7e1e98bfcb7910a47bae2eb51e9a5fbd4da (diff)
downloadblackbird-obmc-uboot-281f69ede28cd3d8be5d62a96b5a0b73e6065858.tar.gz
blackbird-obmc-uboot-281f69ede28cd3d8be5d62a96b5a0b73e6065858.zip
Merge branch 'wd'
Diffstat (limited to 'common/crc16.c')
-rw-r--r--common/crc16.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/crc16.c b/common/crc16.c
index 3cef106007..6904365e59 100644
--- 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;
}
OpenPOWER on IntegriCloud