diff options
author | Romain Forlot <romain.forlot@iot.bzh> | 2019-11-25 15:04:07 +0100 |
---|---|---|
committer | Romain Forlot <romain.forlot@iot.bzh> | 2020-01-09 15:55:03 +0100 |
commit | d1530f94446bf69599664b0341be35317e18b8b5 (patch) | |
tree | 101a0e86b4b4fc73843c7338698acedecc363f6f /low-can-binding/can/message-set.hpp | |
parent | 3f5047992019f9c1d436deb13447a010f0295f02 (diff) |
socketcan-bcm: Fix wrongly opened socket
This commit fixes a problem once a bcm socket has been opened
but the following ioctl failed. Before we still return the socket
number instead of returning a negative value as error.
This resulted in problem because the subscription was considered as valid
and binding was continuing using the closed file descriptor.
Bug-AGL: SPEC-2988
Change-Id: Iaa64e7bb00980cb8c0e7080aca238cfb57d628b6
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'low-can-binding/can/message-set.hpp')
0 files changed, 0 insertions, 0 deletions