mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Don't call sbp_do_attach() recursively after agent reset
while device probing.
This commit is contained in:
parent
df7898b895
commit
de7f8045e0
1 changed files with 1 additions and 1 deletions
|
|
@ -1090,7 +1090,7 @@ END_DEBUG
|
|||
xfer = sbp_write_cmd(sdev, FWTCODE_WREQQ, 0x04);
|
||||
if (xfer == NULL)
|
||||
return;
|
||||
if (sdev->status == SBP_DEV_ATTACHED)
|
||||
if (sdev->status == SBP_DEV_ATTACHED || sdev->status == SBP_DEV_PROBE)
|
||||
xfer->act.hand = sbp_agent_reset_callback;
|
||||
else
|
||||
xfer->act.hand = sbp_do_attach;
|
||||
|
|
|
|||
Loading…
Reference in a new issue