Эх сурвалжийг харах

[PATCH] enp2611: don't check netif_running() in link status timer

Even after an interface has gone !netif_running(), we still want to
catch the 'carrier went down' event for our internal bookkeeping.

Signed-off-by: Lennert Buytenhek <buytenh@wantstofly.org>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
Lennert Buytenhek 19 жил өмнө
parent
commit
de287fd596

+ 0 - 3
drivers/net/ixp2000/enp2611.c

@@ -148,9 +148,6 @@ static void enp2611_check_link_status(unsigned long __dummy)
 		struct net_device *dev;
 		struct net_device *dev;
 		int status;
 		int status;
 
 
-		if (!netif_running(nds[i]))
-			continue;
-
 		dev = nds[i];
 		dev = nds[i];
 
 
 		status = pm3386_is_link_up(i);
 		status = pm3386_is_link_up(i);