Fix: be able to receive new response from OBD2 requests.
authorRomain Forlot <romain.forlot@iot.bzh>
Tue, 16 May 2017 10:43:02 +0000 (12:43 +0200)
committerRomain Forlot <romain.forlot@iot.bzh>
Fri, 19 May 2017 09:36:43 +0000 (11:36 +0200)
Change-Id: Iab309e313f63beb4b56bc824ece1b3a5e42ae508
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
CAN-binder/low-can-binding/diagnostic/diagnostic-manager.cpp

index eb9a344..36413d9 100644 (file)
@@ -558,7 +558,7 @@ openxc_VehicleMessage diagnostic_manager_t::relay_diagnostic_response(active_dia
        }
 
        // Reset the completed flag handle to make sure that it will be reprocessed the next time.
-       adr->get_handle()->completed = false;
+       adr->get_handle()->success = false;
        return message;
 }