mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-12-31 15:32:37 +01:00
device: Move device_init/device_exit to iwd.h
This commit is contained in:
parent
47beec30f9
commit
1f512ff85c
@ -2757,7 +2757,7 @@ bool device_init(void)
|
||||
return true;
|
||||
}
|
||||
|
||||
bool device_exit(void)
|
||||
void device_exit(void)
|
||||
{
|
||||
if (!l_queue_isempty(device_list))
|
||||
l_warn("device_list isn't empty!");
|
||||
@ -2768,6 +2768,4 @@ bool device_exit(void)
|
||||
watchlist_destroy(&device_watches);
|
||||
|
||||
l_dbus_unregister_interface(dbus_get_bus(), IWD_DEVICE_INTERFACE);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
@ -90,6 +90,3 @@ int device_disconnect(struct device *device);
|
||||
|
||||
struct device *device_create(struct wiphy *wiphy, struct netdev *netdev);
|
||||
void device_remove(struct device *device);
|
||||
|
||||
bool device_init(void);
|
||||
bool device_exit(void);
|
||||
|
@ -43,3 +43,6 @@ bool wsc_exit();
|
||||
|
||||
bool known_networks_init(void);
|
||||
void known_networks_exit(void);
|
||||
|
||||
bool device_init(void);
|
||||
void device_exit(void);
|
||||
|
@ -35,7 +35,6 @@
|
||||
|
||||
#include "src/iwd.h"
|
||||
#include "src/netdev.h"
|
||||
#include "src/device.h"
|
||||
#include "src/wiphy.h"
|
||||
#include "src/dbus.h"
|
||||
#include "src/eap.h"
|
||||
|
Loading…
Reference in New Issue
Block a user