mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-12-22 04:32:37 +01:00
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;
|
||||
}
|
||||
|
||||
struct network *station_get_connected_network(struct station *station)
|
||||
{
|
||||
return station->connected_network;
|
||||
}
|
||||
|
||||
struct autoconnect_entry {
|
||||
uint16_t rank;
|
||||
struct network *network;
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user