WPS: Do not indicate PBC overlap for the same BSS
authorJouni Malinen <j@w1.fi>
Wed, 24 Dec 2014 16:40:25 +0000 (18:40 +0200)
committerJouni Malinen <j@w1.fi>
Thu, 25 Dec 2014 14:37:12 +0000 (16:37 +0200)
commit4a393fe9f8191109a715fb1d4916fbf852530125
treed08410280fda410e6e20451af247c156762f0089
parentdd859e20ac5993e675344724d4f6aaa00991d9c1
WPS: Do not indicate PBC overlap for the same BSS

Even if the UUID would have a mismatch, e.g., due to no UUID known for
the target in a new WPS PBC instance, do not indicate PBC session
overlap if the BSSID is same in the two entries. This should not really
happen in normal use cases, but can happen at least in some test
scenarios where the same BSSID is used in consecutive test cases and the
old BSS entry remains in cfg80211 cache.

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