network: Add network_bss_list_isempty
This commit is contained in:
parent
f177f75f92
commit
b4cebf918a
|
@ -358,6 +358,11 @@ bool network_bss_add(struct network *network, struct scan_bss *bss)
|
|||
scan_bss_rank_compare, NULL);
|
||||
}
|
||||
|
||||
bool network_bss_list_isempty(struct network *network)
|
||||
{
|
||||
return l_queue_isempty(network->bss_list);
|
||||
}
|
||||
|
||||
static struct scan_bss *network_select_bss(struct wiphy *wiphy,
|
||||
struct network *network)
|
||||
{
|
||||
|
|
|
@ -62,6 +62,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_bss_list_isempty(struct network *network);
|
||||
|
||||
bool network_register(struct network *network, const char *path);
|
||||
|
||||
|
|
Loading…
Reference in New Issue