station: Add station_get_connected_network
This commit is contained in:
parent
d0ec5fcf77
commit
0650707eea
|
@ -56,6 +56,11 @@ struct netdev *station_get_netdev(struct station *station)
|
||||||
return station->netdev;
|
return station->netdev;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
struct network *station_get_connected_network(struct station *station)
|
||||||
|
{
|
||||||
|
return station->connected_network;
|
||||||
|
}
|
||||||
|
|
||||||
struct autoconnect_entry {
|
struct autoconnect_entry {
|
||||||
uint16_t rank;
|
uint16_t rank;
|
||||||
struct network *network;
|
struct network *network;
|
||||||
|
|
|
@ -67,6 +67,7 @@ struct station {
|
||||||
|
|
||||||
struct wiphy *station_get_wiphy(struct station *station);
|
struct wiphy *station_get_wiphy(struct station *station);
|
||||||
struct netdev *station_get_netdev(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_autoconnect_next(struct station *station);
|
||||||
void station_add_autoconnect_bss(struct station *station,
|
void station_add_autoconnect_bss(struct station *station,
|
||||||
|
|
Loading…
Reference in New Issue