can: peak_usb: add peak_usb_netif_rx() new function
authorStephane Grosjean <s.grosjean@peak-system.com>
Fri, 23 Jan 2015 10:31:24 +0000 (11:31 +0100)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Wed, 28 Jan 2015 13:47:06 +0000 (14:47 +0100)
commitfaa233d902bb97ac034fa2580e6e0934ccf98cf3
treec8160f089c22b47337720c7eeb0b5c0bae15daba
parent1114be1e5ca43d465e2da95a2118672f7d4110fb
can: peak_usb: add peak_usb_netif_rx() new function

Add a common function that pushes the skb in the network queue with adding
timestamps information, converted from time values read from the
PEAK USB adapters.

Signed-off-by: Stephane Grosjean <s.grosjean@peak-system.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/usb/peak_usb/pcan_usb_core.c
drivers/net/can/usb/peak_usb/pcan_usb_core.h