mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-12-22 13:02:44 +01:00
station: Also reset the SSID when hiding
Make the SSID all zeros when hiding a network. This makes sure that the BSS isn't inadvertently confused for a non-hidden one
This commit is contained in:
parent
9af25d937d
commit
ab5fd961c8
@ -3371,6 +3371,7 @@ int station_hide_network(struct station *station, struct network *network)
|
||||
l_hashmap_remove(station->networks, path);
|
||||
|
||||
while ((bss = network_bss_list_pop(network))) {
|
||||
memset(bss->ssid, 0, bss->ssid_len);
|
||||
l_queue_remove_if(station->hidden_bss_list_sorted,
|
||||
bss_match_bssid, bss->addr);
|
||||
l_queue_insert(station->hidden_bss_list_sorted, bss,
|
||||
|
Loading…
Reference in New Issue
Block a user