3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-12-22 21:22:37 +01:00

main: start simauth module

This commit is contained in:
James Prestwood 2017-11-29 09:24:46 -08:00 committed by Denis Kenzior
parent 6c95faf88f
commit a595587b65

View File

@ -45,6 +45,7 @@
#include "src/rfkill.h"
#include "src/ap.h"
#include "src/plugin.h"
#include "src/simauth.h"
#include "src/backtrace.h"
@ -262,6 +263,12 @@ int main(int argc, char *argv[])
goto done;
}
if (!sim_auth_init()) {
l_error("Failed to start sim auth module");
exit_status = EXIT_FAILURE;
goto done;
}
plugin_init(plugins, noplugins);
genl = l_genl_new_default();
@ -309,6 +316,7 @@ int main(int argc, char *argv[])
eapol_exit();
eap_exit();
plugin_exit();
sim_auth_exit();
l_genl_family_unref(nl80211);