|
@@ -324,10 +324,9 @@ static void ems_usb_rx_can_msg(struct ems_usb *dev, struct ems_cpc_msg *msg)
|
|
cf->data[i] = msg->msg.can_msg.msg[i];
|
|
cf->data[i] = msg->msg.can_msg.msg[i];
|
|
}
|
|
}
|
|
|
|
|
|
- netif_rx(skb);
|
|
|
|
-
|
|
|
|
stats->rx_packets++;
|
|
stats->rx_packets++;
|
|
stats->rx_bytes += cf->can_dlc;
|
|
stats->rx_bytes += cf->can_dlc;
|
|
|
|
+ netif_rx(skb);
|
|
}
|
|
}
|
|
|
|
|
|
static void ems_usb_rx_err(struct ems_usb *dev, struct ems_cpc_msg *msg)
|
|
static void ems_usb_rx_err(struct ems_usb *dev, struct ems_cpc_msg *msg)
|
|
@@ -400,10 +399,9 @@ static void ems_usb_rx_err(struct ems_usb *dev, struct ems_cpc_msg *msg)
|
|
stats->rx_errors++;
|
|
stats->rx_errors++;
|
|
}
|
|
}
|
|
|
|
|
|
- netif_rx(skb);
|
|
|
|
-
|
|
|
|
stats->rx_packets++;
|
|
stats->rx_packets++;
|
|
stats->rx_bytes += cf->can_dlc;
|
|
stats->rx_bytes += cf->can_dlc;
|
|
|
|
+ netif_rx(skb);
|
|
}
|
|
}
|
|
|
|
|
|
/*
|
|
/*
|