Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit de287fd5 authored by Lennert Buytenhek's avatar Lennert Buytenhek Committed by Jeff Garzik
Browse files

[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: default avatarLennert Buytenhek <buytenh@wantstofly.org>
Signed-off-by: default avatarJeff Garzik <jgarzik@pobox.com>
parent ee612494
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -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);