]> git.ipfire.org Git - thirdparty/hostap.git/commit - wpa_supplicant/wpa_supplicant.c
MBO: Expire non-matching bss_tmp_disallowed entries as part of check
authorJouni Malinen <j@w1.fi>
Sun, 21 Feb 2016 21:01:45 +0000 (23:01 +0200)
committerJouni Malinen <j@w1.fi>
Mon, 22 Feb 2016 17:53:04 +0000 (19:53 +0200)
commitd010048cf799d31d6f229d25ffe03802d0a701c7
tree0b3edd40fdae716c73a90e7168cfb9c09b580b45
parentf4c74e13607fedc1a8292fe8cb63059231906d34
MBO: Expire non-matching bss_tmp_disallowed entries as part of check

This makes wpa_is_bss_tmp_disallowed() expire old entries from the
bss_tmp_disallowed list even if they do not match the BSSID that is
being searched for. This allows the list to be kept at shorter length to
speed up operations and minimize memory use in cases where the
previously disabled BSS is not in radio range anymore.

Signed-off-by: Jouni Malinen <j@w1.fi>
wpa_supplicant/wpa_supplicant.c