Fix: opening bcm socket still trying to bind as a RAW socket.
authorRomain Forlot <romain.forlot@iot.bzh>
Sat, 22 Apr 2017 11:58:26 +0000 (13:58 +0200)
committerRomain Forlot <romain.forlot@iot.bzh>
Sat, 22 Apr 2017 11:58:26 +0000 (13:58 +0200)
commit1ee784aca5696286f567a4504b22a11cdaa0d0f8
tree94f248d65135a17ed569f69a1c8290b69b8dd66b
parentf0973849c4df5740ffb241a21fc08398fa741a7e
Fix: opening bcm socket still trying to bind as a RAW socket.

Wrong condition testing making connect and bind happens.

Change-Id: Ic75a74d044e9763fdf42e50f7643b26ffaf5d76d
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
CAN-binder/low-can-binding/utils/socket.cpp