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,