diff --git a/src/device.c b/src/device.c index 806790f0..16da3f21 100644 --- a/src/device.c +++ b/src/device.c @@ -114,11 +114,6 @@ static bool new_scan_results(uint32_t wiphy_id, uint32_t ifindex, int err, return true; } -struct network *device_get_connected_network(struct device *device) -{ - return device->station->connected_network; -} - /* TODO: Remove when Station/Device is split */ bool device_is_busy(struct device *device) { diff --git a/src/device.h b/src/device.h index 8d5e03b9..ca94d2cc 100644 --- a/src/device.h +++ b/src/device.h @@ -25,9 +25,9 @@ struct scan_bss; struct wiphy; struct netdev; +struct network; struct device; -struct network *device_get_connected_network(struct device *device); bool device_is_busy(struct device *device); void device_disassociated(struct device *device);