ionic: no transition while stopping
authorShannon Nelson <snelson@pensando.io>
Fri, 25 Feb 2022 17:16:18 +0000 (09:16 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Feb 2022 11:42:45 +0000 (11:42 +0000)
commit688a5efe0ced8e2d33624b475ecc96d31020a313
treec7a4db04cedcca7ceafb6f7c2598b9784573517f
parentb3483bc7a1f2673b35331e60668104ba2be46510
ionic: no transition while stopping

Make sure we don't try to transition the fw_status_ready
while we're still in the FW_STOPPING state, else we can
get stuck in limbo waiting on a transition that already
happened.

While we're here we can remove a superfluous check on
the lif pointer.

Signed-off-by: Shannon Nelson <snelson@pensando.io>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/pensando/ionic/ionic_dev.c