aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/net/igbvf/vf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/igbvf/vf.c b/drivers/net/igbvf/vf.c
index 0cc13c6ed418..74486a8b009a 100644
--- a/drivers/net/igbvf/vf.c
+++ b/drivers/net/igbvf/vf.c
@@ -362,8 +362,8 @@ static s32 e1000_check_for_link_vf(struct e1000_hw *hw)
362 * or a virtual function reset 362 * or a virtual function reset
363 */ 363 */
364 364
365 /* If we were hit with a reset drop the link */ 365 /* If we were hit with a reset or timeout drop the link */
366 if (!mbx->ops.check_for_rst(hw)) 366 if (!mbx->ops.check_for_rst(hw) || !mbx->timeout)
367 mac->get_link_status = true; 367 mac->get_link_status = true;
368 368
369 if (!mac->get_link_status) 369 if (!mac->get_link_status)