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

main: add network_init and network_exit

This commit is contained in:
Denis Kenzior 2015-06-22 15:08:12 -05:00
parent 55f4c3275b
commit cd1ef5acf7

View File

@ -34,6 +34,7 @@
#include "src/kdbus.h"
#include "src/dbus.h"
#include "src/agent.h"
#include "src/network.h"
static struct l_timeout *timeout = NULL;
@ -168,8 +169,11 @@ int main(int argc, char *argv[])
goto destroy;
}
network_init();
l_main_run();
network_exit();
wiphy_exit();
netdev_exit();
dbus_exit();