FT: Fix sm->assoc_resp_ftie storing on the AP side
authorJouni Malinen <jouni@qca.qualcomm.com>
Wed, 9 Dec 2015 22:11:00 +0000 (00:11 +0200)
committerJouni Malinen <j@w1.fi>
Wed, 9 Dec 2015 22:14:35 +0000 (00:14 +0200)
commite44bd28cd1d9419d38561d6ce618481f0d3b5c16
treed54ce8a46b134f95977a534702b28abd0a728963
parent59e78c2408e65db4b7b965320129ecf15561e884
FT: Fix sm->assoc_resp_ftie storing on the AP side

The FTIE from (Re)Association Response frame was copied before
calculating the MIC. This resulted in incorrect value being used when
comparing the EAPOL-Key msg 2/4 value in case PTK rekeying was used
after FT protocol run. Fix this by storing the element after the MIC
field has been filled in.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
src/ap/wpa_auth_ft.c