]> git.ipfire.org Git - thirdparty/hostap.git/commit
mesh: Factor out RSN initialization
authorPeter Oh <peter.oh@bowerswilkins.com>
Mon, 27 Aug 2018 21:28:35 +0000 (14:28 -0700)
committerJouni Malinen <j@w1.fi>
Thu, 3 Jan 2019 10:04:23 +0000 (12:04 +0200)
commit1877842904fa4089a7816221f5b0530bb6ed2aa7
tree1d5822924844898645f16f577e942307cad4707c
parentb9eb717f85fbca320b9782cfbce56ba7af28c5e2
mesh: Factor out RSN initialization

RSN initialization can be used in different phases if mesh
initialization and mesh join don't happen in sequence such as DFS CAC is
done in between, hence factor it out to help convering the case. This
can also get rid of unnecessary indentation by handling the
mconf->security != MESH_CONF_SEC_NONE functionality in a helper
function.

Signed-off-by: Peter Oh <peter.oh@bowerswilkins.com>
wpa_supplicant/mesh.c