3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-26 10:39:23 +01:00

network: Add network_bss_add

This commit is contained in:
Denis Kenzior 2016-05-16 16:06:41 -05:00
parent cefba4d735
commit f177f75f92
2 changed files with 7 additions and 0 deletions

View File

@ -352,6 +352,12 @@ void network_connect_failed(struct network *network)
}
}
bool network_bss_add(struct network *network, struct scan_bss *bss)
{
return l_queue_insert(network->bss_list, bss,
scan_bss_rank_compare, NULL);
}
static struct scan_bss *network_select_bss(struct wiphy *wiphy,
struct network *network)
{

View File

@ -61,6 +61,7 @@ void network_sync_psk(struct network *network);
int network_autoconnect(struct network *network, struct scan_bss *bss);
void network_connect_failed(struct network *network);
bool network_bss_add(struct network *network, struct scan_bss *bss);
bool network_register(struct network *network, const char *path);