]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - common/crc16.c
MVBC_P: fix compile problem
[karo-tx-uboot.git] / common / crc16.c
index 3cef10600722ad9203387847472fc2e4ceddcbd7..6904365e592722137cf41aa80be017a3f518bca5 100644 (file)
@@ -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;
 }