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 <[EMAIL PROTECTED]>

diff -urN linux-2.6.15-rc1.upstream.orig/drivers/net/ixp2000/enp2611.c 
linux-2.6.15-rc1.upstream/drivers/net/ixp2000/enp2611.c
--- linux-2.6.15-rc1.upstream.orig/drivers/net/ixp2000/enp2611.c        
2005-11-22 11:00:34.000000000 +0100
+++ linux-2.6.15-rc1.upstream/drivers/net/ixp2000/enp2611.c     2005-11-22 
12:44:48.000000000 +0100
@@ -148,9 +148,6 @@
                struct net_device *dev;
                int status;
 
-               if (!netif_running(nds[i]))
-                       continue;
-
                dev = nds[i];
 
                status = pm3386_is_link_up(i);
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to