low-can: Fix init failing when using without J1939
authorRomain Forlot <romain.forlot@iot.bzh>
Thu, 28 Nov 2019 12:37:35 +0000 (13:37 +0100)
committerRomain Forlot <romain.forlot@iot.bzh>
Tue, 3 Dec 2019 18:46:26 +0000 (19:46 +0100)
commit98c0076e7811f750f2bed036c481175c18839947
treef441e8189d4473f20112ae56bf2dacf6a85c621e
parentd97ecdb1641cd25348fc8f72b454261c058c8fb0
low-can: Fix init failing when using without J1939

Return variable was initialized to 1 instead of 0 and without using J1939
this variable isn't reaffected and so the final test fails.

Change-Id: I53b7cd757b3b344d66ab18ba9795284105cbcfcc
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
low-can-binding/binding/low-can-cb.cpp