ionic: start watchdog after all is setup
authorShannon Nelson <snelson@pensando.io>
Mon, 24 Jan 2022 18:52:58 +0000 (10:52 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 25 Jan 2022 11:15:08 +0000 (11:15 +0000)
commit9ad2939a1525962a79a2fd974ec7e3a71455b964
tree68e7c8f3514cd9ab2777b4e324b91a493ab769d6
parentbc0bf9de6f48268f4ee59e57fb42ac751be3ecda
ionic: start watchdog after all is setup

The watchdog expects the lif to fully exist when it goes off,
so lets not start the watchdog until all is ready in case there
is some quirky time dialation that makes probe take multiple
seconds.

Fixes: 089406bc5ad6 ("ionic: add a watchdog timer to monitor heartbeat")
Signed-off-by: Shannon Nelson <snelson@pensando.io>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/pensando/ionic/ionic_bus_pci.c
drivers/net/ethernet/pensando/ionic/ionic_dev.c