]> git.ipfire.org Git - thirdparty/hostap.git/commit
Do not add BSS to blacklist on local disconnection request
authorJouni Malinen <jouni@qca.qualcomm.com>
Sun, 12 May 2013 16:12:29 +0000 (19:12 +0300)
committerJouni Malinen <j@w1.fi>
Sun, 12 May 2013 16:18:55 +0000 (19:18 +0300)
commit0cdb93fe9ffe2bfb125f6f758f837a09e7762155
treeed505888a14afd3d9f5835e93a2fc32dfc82fb32
parent0db66360d8319e301a79b1669efeb6d13196eb53
Do not add BSS to blacklist on local disconnection request

There is no point in marking a BSS temporarily blacklisted based on a
connection failure or disconnection case if that happens as a result of
a local request to disconnect. The blacklist entry could result on
unexpected BSS getting selected on the next connection attempt. In
addition, the code to try to find another BSS within the ESS could
result in scanning a single channel on the next attempt. Fix these
issues by handling the connection failure events only if we are not in
disconnected state (i.e., would try to reconnect after this
automatically).

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