ehea: fix last_rx update
authorJan-Bernd Themann <ossthema@de.ibm.com>
Fri, 7 Sep 2007 10:30:24 +0000 (12:30 +0200)
committerJeff Garzik <jeff@garzik.org>
Thu, 13 Sep 2007 04:13:51 +0000 (00:13 -0400)
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>
drivers/net/ehea/ehea_main.c

index 1e9fd6f369109425bdfc1170de5dd588a68891a8..717b12984d10068ae1f13c9620012ad113d7a117 100644 (file)
@@ -471,7 +471,7 @@ static struct ehea_cqe *ehea_proc_rwqes(struct net_device *dev,
                        else
                                netif_receive_skb(skb);
 
-                       dev->last_rx = jiffies;
+                       port->netdev->last_rx = jiffies;
                } else {
                        pr->p_stats.poll_receive_errors++;
                        port_reset = ehea_treat_poll_error(pr, rq, cqe,