From: Romain Forlot Date: Thu, 20 Apr 2017 15:40:55 +0000 (+0200) Subject: Remove timeout socket option. X-Git-Tag: 5.0.2~323 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=commitdiff_plain;h=cfea1927c8f4fe4fcd5981284abb64da990940e0;p=apps%2Fagl-service-can-low-level.git Remove timeout socket option. This will be handle by BCM socket Change-Id: Ie0348135fcc596ab21727846f3b47751664c9e11 Signed-off-by: Romain Forlot --- 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