device: Move device_get_wiphy out of wiphy.c

This commit is contained in:
Denis Kenzior 2016-06-14 12:10:09 -05:00
parent e23ea59f95
commit 74c8af9180
2 changed files with 5 additions and 5 deletions

View File

@ -140,6 +140,11 @@ bool device_is_busy(struct device *device)
return false;
}
struct wiphy *device_get_wiphy(struct device *device)
{
return device->wiphy;
}
void device_disassociated(struct device *device)
{
struct network *network = device->connected_network;

View File

@ -140,11 +140,6 @@ static const char *device_state_to_string(enum device_state state)
return "invalid";
}
struct wiphy *device_get_wiphy(struct device *device)
{
return device->wiphy;
}
void device_enter_state(struct device *device, enum device_state state)
{
l_debug("Old State: %s, new state: %s",