station: Add station_get_connected_network

This commit is contained in:
Denis Kenzior 2018-09-04 15:38:56 -05:00
parent d0ec5fcf77
commit 0650707eea
2 changed files with 6 additions and 0 deletions

View File

@ -56,6 +56,11 @@ struct netdev *station_get_netdev(struct station *station)
return station->netdev;
}
struct network *station_get_connected_network(struct station *station)
{
return station->connected_network;
}
struct autoconnect_entry {
uint16_t rank;
struct network *network;

View File

@ -67,6 +67,7 @@ struct station {
struct wiphy *station_get_wiphy(struct station *station);
struct netdev *station_get_netdev(struct station *station);
struct network *station_get_connected_network(struct station *station);
void station_autoconnect_next(struct station *station);
void station_add_autoconnect_bss(struct station *station,