mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-21 22:09:23 +01:00
network: remove network_bss_list_clear
This commit is contained in:
parent
aca92df19b
commit
68e1d055dd
@ -1286,12 +1286,6 @@ bool network_bss_list_isempty(struct network *network)
|
||||
return l_queue_isempty(network->bss_list);
|
||||
}
|
||||
|
||||
void network_bss_list_clear(struct network *network)
|
||||
{
|
||||
l_queue_destroy(network->bss_list, NULL);
|
||||
network->bss_list = l_queue_new();
|
||||
}
|
||||
|
||||
struct scan_bss *network_bss_list_pop(struct network *network)
|
||||
{
|
||||
struct scan_bss *bss = l_queue_pop_head(network->bss_list);
|
||||
|
@ -76,7 +76,7 @@ bool network_bss_update(struct network *network, struct scan_bss *bss);
|
||||
const char *network_bss_get_path(const struct network *network,
|
||||
const struct scan_bss *bss);
|
||||
bool network_bss_list_isempty(struct network *network);
|
||||
void network_bss_list_clear(struct network *network);
|
||||
|
||||
struct scan_bss *network_bss_list_pop(struct network *network);
|
||||
struct scan_bss *network_bss_find_by_addr(struct network *network,
|
||||
const uint8_t *addr);
|
||||
|
Loading…
Reference in New Issue
Block a user