]> git.ipfire.org Git - thirdparty/hostap.git/commit
mesh: Create new station entry on popen frames
authorBob Copeland <me@bobcopeland.com>
Tue, 27 Jan 2015 13:17:59 +0000 (08:17 -0500)
committerJouni Malinen <j@w1.fi>
Wed, 28 Jan 2015 11:09:31 +0000 (13:09 +0200)
commit745d93695be7d5438fa81598be684937ea47ce53
tree7542ddf2e8304923ca998e9dbd2a0cd3d9e3d380
parent41bff862d9e8d880b09590d298de377f52f0e444
mesh: Create new station entry on popen frames

Currently, there is a race in open mesh networks where mesh STA A
receives a beacon from B and sends a peering open frame to initiate
peering. STA B, having not yet received a beacon from A and thus
created the corresponding station entry, will ignore all such open
frames. If the beacon interval is sufficiently long then peering
will not succeed as a result.

In fact B can simply create the station entry when the popen is
received, as is done in Linux's in-kernel MPM, avoiding the issue.

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