diff options
-rw-r--r-- | drivers/net/ethernet/intel/i40e/i40e_main.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/ethernet/intel/i40e/i40e_main.c b/drivers/net/ethernet/intel/i40e/i40e_main.c index cbe281be1c9f..6bb637653d12 100644 --- a/drivers/net/ethernet/intel/i40e/i40e_main.c +++ b/drivers/net/ethernet/intel/i40e/i40e_main.c | |||
@@ -5587,7 +5587,8 @@ static void i40e_check_hang_subtask(struct i40e_pf *pf) | |||
5587 | int i, v; | 5587 | int i, v; |
5588 | 5588 | ||
5589 | /* If we're down or resetting, just bail */ | 5589 | /* If we're down or resetting, just bail */ |
5590 | if (test_bit(__I40E_CONFIG_BUSY, &pf->state)) | 5590 | if (test_bit(__I40E_DOWN, &pf->state) || |
5591 | test_bit(__I40E_CONFIG_BUSY, &pf->state)) | ||
5591 | return; | 5592 | return; |
5592 | 5593 | ||
5593 | /* for each VSI/netdev | 5594 | /* for each VSI/netdev |