Skip to content

Commit

Permalink
ionic: no link check until after probe
Browse files Browse the repository at this point in the history
Don't bother with the link check during probe, let
the watchdog notice the first link-up.  This allows
probe to finish cleanly without any interruptions
from over excited user programs opening the device
as soon as it is registered.

Fixes: c672412 ("ionic: remove lifs on fw reset")
Signed-off-by: Shannon Nelson <snelson@pensando.io>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Shannon Nelson authored and David S. Miller committed May 1, 2020
1 parent 8653083 commit 16f3fd3
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/net/ethernet/pensando/ionic/ionic_lif.c
Original file line number Diff line number Diff line change
Expand Up @@ -2549,8 +2549,6 @@ int ionic_lifs_register(struct ionic *ionic)
dev_err(ionic->dev, "Cannot register net device, aborting\n");
return err;
}

ionic_link_status_check_request(ionic->master_lif);
ionic->master_lif->registered = true;

return 0;
Expand Down

0 comments on commit 16f3fd3

Please sign in to comment.