Skip to content

Commit

Permalink
mods: ucmd: dm: identify a submodule during scan-remove phase
Browse files Browse the repository at this point in the history
  • Loading branch information
prajnoha committed May 27, 2024
1 parent 7602458 commit 92db252
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/modules/ucmd/type/dm/dm.c
Original file line number Diff line number Diff line change
Expand Up @@ -913,6 +913,10 @@ SID_UCMD_SCAN_POST_NEXT(_dm_scan_post_next)
static int _dm_scan_remove(sid_res_t *mod_res, struct sid_ucmd_ctx *ucmd_ctx)
{
sid_res_log_debug(mod_res, "scan-remove");

if (_dm_submod_ident(mod_res, ucmd_ctx) < 0)
return -1;

return _exec_dm_submod(mod_res, ucmd_ctx, DM_SUBMOD_SCAN_PHASE_REMOVE);
}
SID_UCMD_SCAN_REMOVE(_dm_scan_remove)
Expand Down

0 comments on commit 92db252

Please sign in to comment.