]> git.ipfire.org Git - thirdparty/hostap.git/commit
mesh: Properly handle sae_password
authorDaniel Golle <daniel@makrotopia.org>
Thu, 12 Apr 2018 22:42:10 +0000 (00:42 +0200)
committerJouni Malinen <j@w1.fi>
Fri, 13 Apr 2018 09:09:33 +0000 (12:09 +0300)
commitd5906fbb723b0c854945a3421f9b681c402d74f8
treeaf42560091acae815a283e6120c7d39e1ff1fc85
parentd6d7debb5d65b8c8b40f44aeeaf7c86dc4646bef
mesh: Properly handle sae_password

The recently introduced sae_password parameter was only handled properly
in wpa_supplicant/sme.c while wpa_supplicant/mesh.c assumed that
ssid->passphrase exclusively holds the secret.

Import the logic from sme.c to mesh.c to allow having only sae_password
set which otherwise throws this error:
AP-ENABLED
mesh: Passphrase for SAE not configured

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
wpa_supplicant/mesh.c