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