Skip to contentSkip to conversation

ehea: fix last_rx update

PATCH RESEND In review Jan-Bernd Themann 1 participant 1 message Sep 7, 2007

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH RESEND 2/2 ehea: fix last_rx update

Update last_rx in registered device struct instead of in the dummy device.

---
 drivers/net/ehea/ehea_main.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/net/ehea/ehea_main.c +1 -1
index 1e9fd6f..717b129 100644
@@ -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,
Signature · 1 line
1.5.2