]> git.ipfire.org Git - thirdparty/hostap.git/commit
mesh: Always free the station if peering failed
authorBob Copeland <me@bobcopeland.com>
Tue, 27 Jan 2015 13:17:58 +0000 (08:17 -0500)
committerJouni Malinen <j@w1.fi>
Wed, 28 Jan 2015 11:09:31 +0000 (13:09 +0200)
commit41bff862d9e8d880b09590d298de377f52f0e444
tree512d7da5f53a1756a4f1f1f5db227b448b79c1f8
parent871ff0b7466a9fa62a9980deb30949e495dea095
mesh: Always free the station if peering failed

Previously, we would only free the station entry if a peering close
frame was received (freeing the station entry causes the kernel to
start sending peer candidate events again when suitable beacons are
received, triggering peering or authentication to restart).

The end result is the same in any case regardless of close reason:
if we leave holding state then peering has started again, so go
ahead and remove the station in all cases.

Signed-off-by: Bob Copeland <me@bobcopeland.com>
wpa_supplicant/mesh_mpm.c