Skip to content

Commit

Permalink
res: ubr: allow setting ready state in remove_init phase
Browse files Browse the repository at this point in the history
  • Loading branch information
prajnoha committed Aug 1, 2024
1 parent 5b16583 commit 08bfac2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/resource/ubridge.c
Original file line number Diff line number Diff line change
Expand Up @@ -5390,13 +5390,13 @@ static struct cmd_reg _cmd_scan_phase_regs[] = {

[CMD_SCAN_PHASE_A_EXIT] = {.name = "scan-a-exit", .flags = CMD_SCAN_CAP_ALL, .exec = _cmd_exec_scan_a_exit},

[CMD_SCAN_PHASE_REMOVE_INIT] = {.name = "remove-init", .flags = 0, .exec = _cmd_exec_scan_remove_init},
[CMD_SCAN_PHASE_REMOVE_INIT] = {.name = "remove-init", .flags = CMD_SCAN_CAP_RDY, .exec = _cmd_exec_scan_remove_init},

[CMD_SCAN_PHASE_REMOVE_CURRENT] = {.name = "remove-current", .flags = 0, .exec = _cmd_exec_scan_remove_current},
[CMD_SCAN_PHASE_REMOVE_CURRENT] = {.name = "remove-current", .flags = 0, .exec = _cmd_exec_scan_remove_current},

[CMD_SCAN_PHASE_REMOVE_EXIT] = {.name = "remove-exit", .flags = 0, .exec = _cmd_exec_scan_remove_exit},
[CMD_SCAN_PHASE_REMOVE_EXIT] = {.name = "remove-exit", .flags = 0, .exec = _cmd_exec_scan_remove_exit},

[CMD_SCAN_PHASE_B_INIT] = {.name = "scan-b-init", .flags = CMD_SCAN_CAP_ALL, .exec = _cmd_exec_scan_b_init},
[CMD_SCAN_PHASE_B_INIT] = {.name = "scan-b-init", .flags = CMD_SCAN_CAP_ALL, .exec = _cmd_exec_scan_b_init},

[CMD_SCAN_PHASE_B_ACTION_CURRENT] = {.name = "scan-b-action-current", .flags = 0, .exec = _cmd_exec_scan_b_action_current},

Expand Down

0 comments on commit 08bfac2

Please sign in to comment.