From: Oliver Hartkopp Date: Wed, 21 Nov 2012 21:43:59 +0000 (+0100) Subject: can: peak_usb: fix hwtstamp assignment X-Git-Tag: v3.7-rc8~24^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c9faaa09e2a1335678f09c70a0d0eda095564bab;p=pandora-kernel.git 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 Signed-off-by: Oliver Hartkopp Signed-off-by: Marc Kleine-Budde --- Reading git-diff-tree failed