]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
[PATCH] enp2611: don't check netif_running() in link status timer
authorLennert Buytenhek <buytenh@wantstofly.org>
Wed, 23 Nov 2005 11:49:30 +0000 (12:49 +0100)
committerJeff Garzik <jgarzik@pobox.com>
Thu, 1 Dec 2005 07:25:26 +0000 (02:25 -0500)
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>
drivers/net/ixp2000/enp2611.c

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