From 74c8af9180028c17f58548b23e24390316734688 Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Tue, 14 Jun 2016 12:10:09 -0500 Subject: [PATCH] device: Move device_get_wiphy out of wiphy.c --- src/device.c | 5 +++++ src/wiphy.c | 5 ----- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/device.c b/src/device.c index f3327dd6..8ec0271a 100644 --- a/src/device.c +++ b/src/device.c @@ -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; diff --git a/src/wiphy.c b/src/wiphy.c index 75179612..4466ca58 100644 --- a/src/wiphy.c +++ b/src/wiphy.c @@ -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",