From 5837e65c40d97decb75a39405c23b06b5a637888 Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Tue, 4 Sep 2018 15:33:46 -0500 Subject: [PATCH] station: Add station_get_wiphy --- src/station.c | 5 +++++ src/station.h | 2 ++ 2 files changed, 7 insertions(+) diff --git a/src/station.c b/src/station.c index 7b1afed7..3f1a6140 100644 --- a/src/station.c +++ b/src/station.c @@ -46,6 +46,11 @@ static struct l_queue *station_list; +struct wiphy *station_get_wiphy(struct station *station) +{ + return station->wiphy; +} + struct autoconnect_entry { uint16_t rank; struct network *network; diff --git a/src/station.h b/src/station.h index 5e05d347..40c62d68 100644 --- a/src/station.h +++ b/src/station.h @@ -65,6 +65,8 @@ struct station { bool ap_directed_roaming : 1; }; +struct wiphy *station_get_wiphy(struct station *station); + void station_autoconnect_next(struct station *station); void station_add_autoconnect_bss(struct station *station, struct network *network,