station: Add station_get_netdev

This commit is contained in:
Denis Kenzior 2018-09-04 15:34:17 -05:00
parent 5837e65c40
commit d0ec5fcf77
2 changed files with 6 additions and 0 deletions

View File

@ -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;

View File

@ -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,