Set GTK rekey offload information after initial group key handshake
authorSunil Dutt <c_duttus@qti.qualcomm.com>
Wed, 30 Oct 2013 09:41:40 +0000 (11:41 +0200)
committerJouni Malinen <j@w1.fi>
Wed, 30 Oct 2013 09:41:40 +0000 (11:41 +0200)
commit392e68e81f186b0f05beb14ac2128b9d6e76fe92
tree59a37debb60d2da6ec6b78ede6867301ff3323f8
parent789b9f1d524d091f35d99d51681ad9537998e081
Set GTK rekey offload information after initial group key handshake

The GTK rekey offload information was sent to the driver immediately
after the 4-way handshake which ended up being before the initial group
key exchange in the case of WPA (v1). This could result in even that
initial GTK handshake being offloaded and wpa_supplicant being left in
WPA_GROUP_HANDSHAKE state. Fix this by postponing the operation to
happen only after the full set of initial EAPOL-Key exchanges have been
completed (i.e., in the existing location for WPA2 and a after the group
key handshake for WPA).

Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
src/rsn_supp/wpa.c