3
0
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:
Denis Kenzior 2016-06-14 11:13:34 -05:00
parent 1e99fc182e
commit 64604ed59c
2 changed files with 2 additions and 1 deletions

View File

@ -76,6 +76,7 @@ struct wiphy *device_get_wiphy(struct device *device);
uint32_t device_get_ifindex(struct device *device); uint32_t device_get_ifindex(struct device *device);
const uint8_t *device_get_address(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, 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);

View File

@ -159,7 +159,7 @@ struct wiphy *device_get_wiphy(struct device *device)
return device->wiphy; 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", l_debug("Old State: %s, new state: %s",
device_state_to_string(device->state), device_state_to_string(device->state),