From d0ec5fcf770c91e727a579d227c28d8f3c0aa269 Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Tue, 4 Sep 2018 15:34:17 -0500 Subject: [PATCH] station: Add station_get_netdev --- src/station.c | 5 +++++ src/station.h | 1 + 2 files changed, 6 insertions(+) diff --git a/src/station.c b/src/station.c index 3f1a6140..67510c52 100644 --- a/src/station.c +++ b/src/station.c @@ -51,6 +51,11 @@ struct wiphy *station_get_wiphy(struct station *station) return station->wiphy; } +struct netdev *station_get_netdev(struct station *station) +{ + return station->netdev; +} + struct autoconnect_entry { uint16_t rank; struct network *network; diff --git a/src/station.h b/src/station.h index 40c62d68..99b9ac09 100644 --- a/src/station.h +++ b/src/station.h @@ -66,6 +66,7 @@ struct station { }; struct wiphy *station_get_wiphy(struct station *station); +struct netdev *station_get_netdev(struct station *station); void station_autoconnect_next(struct station *station); void station_add_autoconnect_bss(struct station *station,