From cfea1927c8f4fe4fcd5981284abb64da990940e0 Mon Sep 17 00:00:00 2001 From: Romain Forlot Date: Thu, 20 Apr 2017 17:40:55 +0200 Subject: Remove timeout socket option. This will be handle by BCM socket Change-Id: Ie0348135fcc596ab21727846f3b47751664c9e11 Signed-off-by: Romain Forlot --- CAN-binder/low-can-binding/can/can-bus-dev.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'CAN-binder/low-can-binding/can/can-bus-dev.cpp') diff --git a/CAN-binder/low-can-binding/can/can-bus-dev.cpp b/CAN-binder/low-can-binding/can/can-bus-dev.cpp index 81e8f30d..6bd5e67f 100644 --- a/CAN-binder/low-can-binding/can/can-bus-dev.cpp +++ b/CAN-binder/low-can-binding/can/can-bus-dev.cpp @@ -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 -- cgit 1.2.3-korg