netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] hso: add missing last_rx setting
@ 2009-06-04 15:50 Paulius Zaleckas
  2009-06-04 22:42 ` David Miller
  0 siblings, 1 reply; 4+ messages in thread
From: Paulius Zaleckas @ 2009-06-04 15:50 UTC (permalink / raw)
  To: j.dumon; +Cc: netdev

Signed-off-by: Paulius Zaleckas <paulius.zaleckas@teltonika.lt>
---

 drivers/net/usb/hso.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/drivers/net/usb/hso.c b/drivers/net/usb/hso.c
index f84b78d..1064dda 100644
--- a/drivers/net/usb/hso.c
+++ b/drivers/net/usb/hso.c
@@ -958,8 +958,8 @@ static void packetizeRx(struct hso_net *odev, unsigned char *ip_pkt,
 
 				/* update out statistics */
 				odev->net->stats.rx_packets++;
-
 				odev->net->stats.rx_bytes += odev->rx_buf_size;
+				odev->net->last_rx = jiffies;
 
 				odev->rx_buf_size = 0;
 				odev->rx_buf_missing = sizeof(struct iphdr);


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-06-09 14:37 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-04 15:50 [PATCH] hso: add missing last_rx setting Paulius Zaleckas
2009-06-04 22:42 ` David Miller
2009-06-09 14:05   ` Paulius Zaleckas
2009-06-09 14:37     ` Eric Dumazet

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).