Message ID | 20230630191812.2884637-6-prestwoj@gmail.com (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | Initial refactor for hwsim frame processing | expand |
Context | Check | Description |
---|---|---|
tedd_an/pre-ci_am | success | Success |
prestwoj/iwd-ci-gitlint | success | GitLint |
diff --git a/src/module.c b/src/module.c index f32190af..aee88bfb 100644 --- a/src/module.c +++ b/src/module.c @@ -120,6 +120,10 @@ int iwd_modules_init(void) struct module *src; struct module *dst; + if (!strcmp(dep->self, "dummy") && + !strcmp(dep->target, "dummy")) + continue; + src = module_find(modules, n_modules, dep->self); dst = module_find(modules, n_modules, dep->target); if (!src || !dst) { @@ -185,3 +189,5 @@ void iwd_modules_exit(void) l_free(modules_sorted); modules_sorted = NULL; } + +IWD_MODULE_DEPENDS(dummy, dummy);