commit | 5dccccb2b05c5f470d4a4f4b13cea377976a33a3 | [log] [tgz] |
---|---|---|
author | Ravi Aravamudhan <aravamud@codeaurora.org> | Fri Aug 09 16:57:34 2013 -0700 |
committer | Gerrit - the friendly Code Review server <code-review@localhost> | Fri Aug 23 15:02:28 2013 -0700 |
tree | 493d2a1c025599bf593dbc26ac588a8c249c664f | |
parent | 66e74ff5f2c3d5553047cb9b6478774508c26462 [diff] |
diag: Perform CRC check on incoming HDLC encoded packet Diag driver receives HDLC encoded data from the tools and decodes them. This patch adds checks to the received data. It discards the packet if the CRC is not correct. Change-Id: Ie53056844d6d1e6777d15a339896bf6842cfae64 CRs-Fixed: 519902 Signed-off-by: Ravi Aravamudhan <aravamud@codeaurora.org>