mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
The reset_type should not be 0x80, it should be set to zero.
0x80 can cause the command to be rejected as invalid. This bug exists also in the Linux IPS ffdc code. Submitted by: David Jeffery MFC after: 1 week
This commit is contained in:
parent
f79f3abcbf
commit
aa8689ef95
1 changed files with 1 additions and 1 deletions
|
|
@ -489,7 +489,7 @@ static int ips_send_ffdc_reset_cmd(ips_command_t *command)
|
|||
command_struct->command = IPS_FFDC_CMD;
|
||||
command_struct->id = command->id;
|
||||
command_struct->reset_count = sc->ffdc_resetcount;
|
||||
command_struct->reset_type = 0x80;
|
||||
command_struct->reset_type = 0x0;
|
||||
ips_ffdc_settime(command_struct, sc->ffdc_resettime.tv_sec);
|
||||
|
||||
bus_dmamap_sync(sc->command_dmatag, command->command_dmamap,
|
||||
|
|
|
|||
Loading…
Reference in a new issue