Remove timeout socket option.
authorRomain Forlot <romain.forlot@iot.bzh>
Thu, 20 Apr 2017 15:40:55 +0000 (17:40 +0200)
committerRomain Forlot <romain.forlot@iot.bzh>
Thu, 20 Apr 2017 15:40:55 +0000 (17:40 +0200)
This will be handle by BCM socket

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

index 81e8f30..6bd5e67 100644 (file)
@@ -65,8 +65,6 @@ void can_bus_dev_t::configure()
                const int timestamp_on = 1;
                const int canfd_on = 1;
 
-               // Set timeout for read
-               can_socket_.setopt(SOL_SOCKET, SO_RCVTIMEO, (char *)&timeout, sizeof(timeout));
                DEBUG(binder_interface, "open_raw: CAN Handler socket correctly initialized : %d", can_socket_.socket());
 
                // Set timestamp for receveid frame