mesh: Fix MTK derivation to use AKM suite selector
authorJouni Malinen <j@w1.fi>
Sat, 18 Jun 2016 11:21:48 +0000 (14:21 +0300)
committerJouni Malinen <j@w1.fi>
Sat, 18 Jun 2016 12:53:26 +0000 (15:53 +0300)
commit0f76d8249c17da6b5166091697496aac9ef8ef85
tree4b95ac32dda370d2088221c01af9585a374859cd
parentf5ba6923d05e394e434883f90522fd76d7ea9b63
mesh: Fix MTK derivation to use AKM suite selector

mesh_rsn_derive_mtk() was hardcoded to use GCMP (even though CCMP was
hardcoded elsewhere) cipher suite selector instead of the selected AKM
suite selector. This resulted in incorrect MTK getting derived. Fix this
by used the SAE AKM suite selector in the input to the KDF.

Signed-off-by: Jouni Malinen <j@w1.fi>
wpa_supplicant/mesh_rsn.c