Commit 179075c2 authored by Raymond Knopp's avatar Raymond Knopp

removed >>8 on intel 24-bit CRC result (it is done outside).

parent bdea7f46
...@@ -167,7 +167,7 @@ unsigned int crc24a (unsigned char * inptr, ...@@ -167,7 +167,7 @@ unsigned int crc24a (unsigned char * inptr,
return crc; return crc;
#else #else
return crc32_calc_pclmulqdq(inptr, octetlen, 0, return crc32_calc_pclmulqdq(inptr, octetlen, 0,
&lte_crc24a_pclmulqdq) >> 8; &lte_crc24a_pclmulqdq);
#endif #endif
} }
...@@ -201,7 +201,7 @@ unsigned int crc24b (unsigned char * inptr, ...@@ -201,7 +201,7 @@ unsigned int crc24b (unsigned char * inptr,
return crc; return crc;
#else #else
return crc32_calc_pclmulqdq(inptr, octetlen, 0, return crc32_calc_pclmulqdq(inptr, octetlen, 0,
&lte_crc24b_pclmulqdq) >> 8; &lte_crc24b_pclmulqdq);
#endif #endif
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment