summaryrefslogtreecommitdiffstats
path: root/net/can
diff options
context:
space:
mode:
authorOliver Hartkopp2012-11-21 22:43:59 +0100
committerMarc Kleine-Budde2012-11-26 22:33:06 +0100
commitc9faaa09e2a1335678f09c70a0d0eda095564bab (patch)
tree8f1f42209d946ca2bc03d35da2081f9f2aba03e2 /net/can
parentMerge tag 'sound-3.7' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/... (diff)
downloadkernel-qcow2-linux-c9faaa09e2a1335678f09c70a0d0eda095564bab.tar.gz
kernel-qcow2-linux-c9faaa09e2a1335678f09c70a0d0eda095564bab.tar.xz
kernel-qcow2-linux-c9faaa09e2a1335678f09c70a0d0eda095564bab.zip
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>
Diffstat (limited to 'net/can')
0 files changed, 0 insertions, 0 deletions