mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-26 10:39:23 +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/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();
|
||||
|
Loading…
Reference in New Issue
Block a user