3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-25 17:59:25 +01:00

network: make network const in network_bss_list_get_entries

No reason for this to not be const.
This commit is contained in:
James Prestwood 2022-08-10 16:16:14 -07:00 committed by Denis Kenzior
parent 85dd94dfcf
commit 143b346a4b
2 changed files with 2 additions and 2 deletions

View File

@ -1168,7 +1168,7 @@ struct erp_cache_entry *network_get_erp_cache(struct network *network)
}
const struct l_queue_entry *network_bss_list_get_entries(
struct network *network)
const struct network *network)
{
return l_queue_get_entries(network->bss_list);
}

View File

@ -91,7 +91,7 @@ void network_blacklist_add(struct network *network, struct scan_bss *bss);
struct erp_cache_entry *network_get_erp_cache(struct network *network);
const struct l_queue_entry *network_bss_list_get_entries(
struct network *network);
const struct network *network);
struct l_dbus_message *__network_connect(struct network *network,
struct scan_bss *bss,