mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-12-21 20:12:37 +01:00
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);
|
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,
|
static struct scan_bss *network_select_bss(struct wiphy *wiphy,
|
||||||
struct network *network)
|
struct network *network)
|
||||||
{
|
{
|
||||||
|
@ -62,6 +62,7 @@ void network_sync_psk(struct network *network);
|
|||||||
int network_autoconnect(struct network *network, struct scan_bss *bss);
|
int network_autoconnect(struct network *network, struct scan_bss *bss);
|
||||||
void network_connect_failed(struct network *network);
|
void network_connect_failed(struct network *network);
|
||||||
bool network_bss_add(struct network *network, struct scan_bss *bss);
|
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);
|
bool network_register(struct network *network, const char *path);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user