mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-22 23:09:34 +01:00
module: print module name/error if it fails to start
This commit is contained in:
parent
29a05eb402
commit
99483489bc
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user