diff options
author | 2010-07-01 13:39:01 +0000 | |
---|---|---|
committer | 2010-07-01 22:45:57 -0700 | |
commit | 8d420a1b3ea65357b6eb59e4e742248d2838e904 (patch) | |
tree | 6aa2f8e2c4442844bb0a341753a7c43835a75516 /lib/vsprintf.c | |
parent | igb: Fix Tx hangs seen when loading igb with max_vfs > 7. (diff) | |
download | linux-rng-8d420a1b3ea65357b6eb59e4e742248d2838e904.tar.xz linux-rng-8d420a1b3ea65357b6eb59e4e742248d2838e904.zip |
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 <alexander.h.duyck@intel.com>
Tested-by: Emil Tantilov <emil.s.tantilov@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/vsprintf.c')
0 files changed, 0 insertions, 0 deletions