mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-22 14:49:24 +01:00
network: Add network_bss_add
This commit is contained in:
parent
cefba4d735
commit
f177f75f92
@ -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)
|
||||
{
|
||||
|
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user