mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-26 18:59:22 +01:00
main: add network_init and network_exit
This commit is contained in:
parent
55f4c3275b
commit
cd1ef5acf7
@ -34,6 +34,7 @@
|
|||||||
#include "src/kdbus.h"
|
#include "src/kdbus.h"
|
||||||
#include "src/dbus.h"
|
#include "src/dbus.h"
|
||||||
#include "src/agent.h"
|
#include "src/agent.h"
|
||||||
|
#include "src/network.h"
|
||||||
|
|
||||||
static struct l_timeout *timeout = NULL;
|
static struct l_timeout *timeout = NULL;
|
||||||
|
|
||||||
@ -168,8 +169,11 @@ int main(int argc, char *argv[])
|
|||||||
goto destroy;
|
goto destroy;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
network_init();
|
||||||
|
|
||||||
l_main_run();
|
l_main_run();
|
||||||
|
|
||||||
|
network_exit();
|
||||||
wiphy_exit();
|
wiphy_exit();
|
||||||
netdev_exit();
|
netdev_exit();
|
||||||
dbus_exit();
|
dbus_exit();
|
||||||
|
Loading…
Reference in New Issue
Block a user