3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-22 14:49:24 +01:00

module: print module name/error if it fails to start

This commit is contained in:
James Prestwood 2019-09-09 14:09:32 -07:00 committed by Denis Kenzior
parent 29a05eb402
commit 99483489bc

View File

@ -150,8 +150,10 @@ int iwd_modules_init()
desc = modules_sorted[i]; desc = modules_sorted[i];
r = desc->init(); r = desc->init();
if (r < 0) if (r < 0) {
l_error("Module %s failed to start: %d", desc->name, r);
return r; return r;
}
desc->active = true; desc->active = true;
} }