linux-sg2042/drivers/net/can/usb
Oliver Hartkopp c9faaa09e2 can: peak_usb: fix hwtstamp assignment
The skb->tstamp is set to the hardware timestamp when available in the USB
urb message. This leads to user visible timestamps which contain the 'uptime'
of the USB adapter - and not the usual system generated timestamp.

Fix this wrong assignment by applying the available hardware timestamp to the
skb_shared_hwtstamps data structure - which is intended for this purpose.

Cc: linux-stable <stable@vger.kernel.org>
Signed-off-by: Oliver Hartkopp <socketcan@hartkopp.net>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2012-11-26 22:33:06 +01:00
..
peak_usb can: peak_usb: fix hwtstamp assignment 2012-11-26 22:33:06 +01:00
Kconfig can: usb: PEAK-System Technik USB adapters driver core 2012-03-03 17:40:51 +01:00
Makefile can: usb: PEAK-System Technik USB adapters driver core 2012-03-03 17:40:51 +01:00
ems_usb.c can: mark bittiming_const pointer in struct can_priv as const 2012-07-20 12:31:05 +02:00
esd_usb2.c can: mark bittiming_const pointer in struct can_priv as const 2012-07-20 12:31:05 +02:00