aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ehea
diff options
context:
space:
mode:
authorJan-Bernd Themann <ossthema@de.ibm.com>2007-09-07 06:30:24 -0400
committerJeff Garzik <jeff@garzik.org>2007-09-13 00:13:51 -0400
commit64251621796d5d4c0c4b6a6b6d845e4a43c63aee (patch)
tree7de8a1668c47d59cd70a6729200da70b5052923e /drivers/net/ehea
parent8759cf76e9a6322fc68dcbfaa1cbad00c74b199e (diff)
ehea: fix last_rx update
Update last_rx in registered device struct instead of in the dummy device. Signed-off-by: Jan-Bernd Themann <themann@de.ibm.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/ehea')
-rw-r--r--drivers/net/ehea/ehea_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ehea/ehea_main.c b/drivers/net/ehea/ehea_main.c
index 1e9fd6f36910..717b12984d10 100644
--- a/drivers/net/ehea/ehea_main.c
+++ b/drivers/net/ehea/ehea_main.c
@@ -471,7 +471,7 @@ static struct ehea_cqe *ehea_proc_rwqes(struct net_device *dev,
471 else 471 else
472 netif_receive_skb(skb); 472 netif_receive_skb(skb);
473 473
474 dev->last_rx = jiffies; 474 port->netdev->last_rx = jiffies;
475 } else { 475 } else {
476 pr->p_stats.poll_receive_errors++; 476 pr->p_stats.poll_receive_errors++;
477 port_reset = ehea_treat_poll_error(pr, rq, cqe, 477 port_reset = ehea_treat_poll_error(pr, rq, cqe,