# HG changeset patch # User Mychaela Falconia # Date 1484469841 0 # Node ID a2b95b81c81f2e14eb6d67deb3ab9a1f984ff5b2 # Parent 17b2be4a3964460ab54e7e041a71104b0e12b224 l1tm_func.c: reconstruction complete, exact match to TCS211 binary object diff -r 17b2be4a3964 -r a2b95b81c81f chipsetsw/layer1/tm_cfile/l1tm_func.c --- a/chipsetsw/layer1/tm_cfile/l1tm_func.c Sun Jan 15 08:33:57 2017 +0000 +++ b/chipsetsw/layer1/tm_cfile/l1tm_func.c Sun Jan 15 08:44:01 2017 +0000 @@ -2749,7 +2749,7 @@ #endif ptmret = (UWORD8 *) &tm_ret->result[0]; - size = (((tm_ret->size) > TM_PAYLOAD_UPLINK_SIZE_MAX) ? TM_PAYLOAD_UPLINK_SIZE_MAX: (tm_ret->size)); + size = tm_ret->size; while (size--) { *pbuf++ = *ptmret; cksum ^= *ptmret++;