]> git.ipfire.org Git - thirdparty/hostap.git/commit
P2P: Use latest BSS entry if multiple P2P Device Addr matches found
authorHu Wang <huw@codeaurora.org>
Wed, 11 Sep 2019 03:04:40 +0000 (11:04 +0800)
committerJouni Malinen <j@w1.fi>
Fri, 13 Sep 2019 13:22:05 +0000 (16:22 +0300)
commit8214b45ba01ea629382b7c0339451246fc19dfa0
tree04185cc54578871966add8fcd6729958e273ee46
parentdc6c3be4e2dd1c5d273f6deda4a2fbedbeaea193
P2P: Use latest BSS entry if multiple P2P Device Addr matches found

If an AP (P2P GO) has changed its operating channel or SSID recently,
the BSS table may have multiple entries for the same BSSID.

Commit 702621e6dd35 ('WPS: Use latest updated BSS entry if multiple
BSSID matches found') fetches latest updated BSS entry based on
BSSID. Do the same when fetching an entry based on the P2P Device
Address.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
wpa_supplicant/bss.c