From: Alexander Duyck Date: Thu, 1 Jul 2010 13:39:01 +0000 (+0000) Subject: igb: correct link test not being run when link is down X-Git-Tag: v2.6.36-rc1~571^2~377 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8d420a1b3ea65357b6eb59e4e742248d2838e904;p=pandora-kernel.git igb: correct link test not being run when link is down The igb online link test was always reporting pass because instead of checking for if_running it was checking for netif_carrier_ok. This change corrects the test so that it is run if the interface is running instead of checking for netif carrier ok. Signed-off-by: Alexander Duyck Tested-by: Emil Tantilov Signed-off-by: Jeff Kirsher Signed-off-by: David S. Miller --- Reading git-diff-tree failed