commit 5837e65c40d97decb75a39405c23b06b5a637888
parent 738faa765766dc15ccb005fa72a8876a3ae4b978
Author: Denis Kenzior <denkenz@gmail.com>
Date: Tue, 4 Sep 2018 15:33:46 -0500
station: Add station_get_wiphy
Diffstat:
2 files changed, 7 insertions(+), 0 deletions(-)
diff --git 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
@@ -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,