ixgbe: fix fw_recovery_mode callout

Need to pass the softc in with the callout arg

(cherry picked from commit a924b5ee6a1b4456b5bde979bb9e15d18726de4f)
This commit is contained in:
Kevin Bowling 2024-09-21 04:10:11 -07:00
parent e9e57ee70b
commit edf4f6a6ec

View file

@ -1150,7 +1150,7 @@ ixgbe_if_attach_post(if_ctx_t ctx)
callout_init(&sc->fw_mode_timer, true);
/* Start the task */
callout_reset(&sc->fw_mode_timer, hz, ixgbe_fw_mode_timer, 0);
callout_reset(&sc->fw_mode_timer, hz, ixgbe_fw_mode_timer, sc);
}
return (0);