diff options
author | Kevin Bowling <kbowling@FreeBSD.org> | 2024-09-21 11:10:11 +0000 |
---|---|---|
committer | Kevin Bowling <kbowling@FreeBSD.org> | 2024-09-21 11:11:17 +0000 |
commit | a924b5ee6a1b4456b5bde979bb9e15d18726de4f (patch) | |
tree | cc5564525b29161bc954b9b27265c2d3df51b88d | |
parent | b6cd053e6da9bb8f77d2c6069260e52bbd53fa4a (diff) | |
download | src-a924b5ee6a1b.tar.gz src-a924b5ee6a1b.zip |
ixgbe: fix fw_recovery_mode callout
Need to pass the softc in with the callout arg
MFC after: 1 week
-rw-r--r-- | sys/dev/ixgbe/if_ix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ixgbe/if_ix.c b/sys/dev/ixgbe/if_ix.c index 74bde3497279..80f288a4ccf0 100644 --- a/sys/dev/ixgbe/if_ix.c +++ b/sys/dev/ixgbe/if_ix.c @@ -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); |