Fix already-associated detection with driver-based BSS selection
authorJouni Malinen <jouni@qca.qualcomm.com>
Tue, 21 May 2013 16:34:00 +0000 (19:34 +0300)
committerJouni Malinen <j@w1.fi>
Wed, 22 May 2013 13:10:59 +0000 (16:10 +0300)
commitb06800170ada9fc7985e7ca7e92f9c386ab47811
tree7fd40285ca2ad8b92acdbc0ca9d8a3bc8a7043a6
parent72728c6fa8e63f7eb2b6e54e6a610d569483eee5
Fix already-associated detection with driver-based BSS selection

wpa_s->pending_bssid is all zeros during connection attempt when
driver-based BSS selection is used. Take this into account when
determining whether new scan results should trigger a connection based
on wpa_s->current_ssid, i.e., a connection attempt with the selected
network instead of selected BSS.

Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
wpa_supplicant/events.c