mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
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:
parent
e9e57ee70b
commit
edf4f6a6ec
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue