station: Add station_get_wiphy

This commit is contained in:
Denis Kenzior 2018-09-04 15:33:46 -05:00
parent 738faa7657
commit 5837e65c40
2 changed files with 7 additions and 0 deletions

View File

@ -46,6 +46,11 @@
static struct l_queue *station_list; static struct l_queue *station_list;
struct wiphy *station_get_wiphy(struct station *station)
{
return station->wiphy;
}
struct autoconnect_entry { struct autoconnect_entry {
uint16_t rank; uint16_t rank;
struct network *network; struct network *network;

View File

@ -65,6 +65,8 @@ struct station {
bool ap_directed_roaming : 1; bool ap_directed_roaming : 1;
}; };
struct wiphy *station_get_wiphy(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,
struct network *network, struct network *network,