提交 de287fd5 编写于 作者: L Lennert Buytenhek 提交者: Jeff Garzik

[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: NLennert Buytenhek <buytenh@wantstofly.org>
Signed-off-by: NJeff Garzik <jgarzik@pobox.com>
上级 ee612494
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册