|
@@ -553,9 +553,9 @@ static int pcan_usb_pro_handle_canmsg(struct pcan_usb_pro_interface *usb_if,
|
|
hwts = skb_hwtstamps(skb);
|
|
hwts = skb_hwtstamps(skb);
|
|
hwts->hwtstamp = timeval_to_ktime(tv);
|
|
hwts->hwtstamp = timeval_to_ktime(tv);
|
|
|
|
|
|
- netif_rx(skb);
|
|
|
|
netdev->stats.rx_packets++;
|
|
netdev->stats.rx_packets++;
|
|
netdev->stats.rx_bytes += can_frame->can_dlc;
|
|
netdev->stats.rx_bytes += can_frame->can_dlc;
|
|
|
|
+ netif_rx(skb);
|
|
|
|
|
|
return 0;
|
|
return 0;
|
|
}
|
|
}
|
|
@@ -670,9 +670,9 @@ static int pcan_usb_pro_handle_error(struct pcan_usb_pro_interface *usb_if,
|
|
peak_usb_get_ts_tv(&usb_if->time_ref, le32_to_cpu(er->ts32), &tv);
|
|
peak_usb_get_ts_tv(&usb_if->time_ref, le32_to_cpu(er->ts32), &tv);
|
|
hwts = skb_hwtstamps(skb);
|
|
hwts = skb_hwtstamps(skb);
|
|
hwts->hwtstamp = timeval_to_ktime(tv);
|
|
hwts->hwtstamp = timeval_to_ktime(tv);
|
|
- netif_rx(skb);
|
|
|
|
netdev->stats.rx_packets++;
|
|
netdev->stats.rx_packets++;
|
|
netdev->stats.rx_bytes += can_frame->can_dlc;
|
|
netdev->stats.rx_bytes += can_frame->can_dlc;
|
|
|
|
+ netif_rx(skb);
|
|
|
|
|
|
return 0;
|
|
return 0;
|
|
}
|
|
}
|