diff options
author | Christopher Peplin <chris.peplin@rhubarbtech.com> | 2014-01-02 15:28:52 -0500 |
---|---|---|
committer | Christopher Peplin <chris.peplin@rhubarbtech.com> | 2014-01-02 15:28:52 -0500 |
commit | e3637d97ecaef1768d3f9ef40cb0204a0e668ff2 (patch) | |
tree | a1f2db1c34cfde48fe8533877015556ba7309c30 /src/isotp/isotp.c | |
parent | fe20a273bb3979d9e806d828486633249d073ede (diff) |
Only mark handle as completed when fully received.
Diffstat (limited to 'src/isotp/isotp.c')
-rw-r--r-- | src/isotp/isotp.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/isotp/isotp.c b/src/isotp/isotp.c index 9aa051bc..1605d435 100644 --- a/src/isotp/isotp.c +++ b/src/isotp/isotp.c @@ -76,6 +76,8 @@ IsoTpMessage isotp_receive_can_frame(IsoTpShims* shims, IsoTpHandle* handle, message.payload = payload; message.size = payload_length; message.completed = true; + handle->success = true; + handle->completed = true; isotp_handle_single_frame(handle, &message); break; } |