mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-12-21 11:52:34 +01:00
device: Expose device_enter_state
This commit is contained in:
parent
1e99fc182e
commit
64604ed59c
@ -76,6 +76,7 @@ struct wiphy *device_get_wiphy(struct device *device);
|
||||
uint32_t device_get_ifindex(struct device *device);
|
||||
const uint8_t *device_get_address(struct device *device);
|
||||
|
||||
void device_enter_state(struct device *device, enum device_state state);
|
||||
void device_connect_network(struct device *device, struct network *network,
|
||||
struct scan_bss *bss,
|
||||
struct l_dbus_message *message);
|
||||
|
@ -159,7 +159,7 @@ struct wiphy *device_get_wiphy(struct device *device)
|
||||
return device->wiphy;
|
||||
}
|
||||
|
||||
static void device_enter_state(struct device *device, enum device_state state)
|
||||
void device_enter_state(struct device *device, enum device_state state)
|
||||
{
|
||||
l_debug("Old State: %s, new state: %s",
|
||||
device_state_to_string(device->state),
|
||||
|
Loading…
Reference in New Issue
Block a user