mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-12-22 21:22:37 +01:00
device: Make device_enter_state static
This commit is contained in:
parent
4419a6325a
commit
ef18c03322
@ -503,7 +503,7 @@ bool device_remove_state_watch(struct device *device, uint32_t id)
|
|||||||
return watchlist_remove(&device->state_watches, id);
|
return watchlist_remove(&device->state_watches, id);
|
||||||
}
|
}
|
||||||
|
|
||||||
void device_enter_state(struct device *device, enum device_state state)
|
static void device_enter_state(struct device *device, enum device_state state)
|
||||||
{
|
{
|
||||||
struct l_dbus *dbus = dbus_get_bus();
|
struct l_dbus *dbus = dbus_get_bus();
|
||||||
bool disconnected;
|
bool disconnected;
|
||||||
|
@ -61,7 +61,6 @@ uint32_t device_add_state_watch(struct device *device,
|
|||||||
device_destroy_func_t destroy);
|
device_destroy_func_t destroy);
|
||||||
bool device_remove_state_watch(struct device *device, uint32_t id);
|
bool device_remove_state_watch(struct device *device, uint32_t id);
|
||||||
|
|
||||||
void device_enter_state(struct device *device, enum device_state state);
|
|
||||||
void device_connect_network(struct device *device, struct network *network,
|
void device_connect_network(struct device *device, struct network *network,
|
||||||
struct scan_bss *bss,
|
struct scan_bss *bss,
|
||||||
struct l_dbus_message *message);
|
struct l_dbus_message *message);
|
||||||
|
Loading…
Reference in New Issue
Block a user