Fix PMKID addition to RSN element when RSN Capabilities are not present
authorJouni Malinen <j@w1.fi>
Sat, 8 Aug 2015 16:19:57 +0000 (19:19 +0300)
committerJouni Malinen <j@w1.fi>
Sat, 8 Aug 2015 16:21:38 +0000 (19:21 +0300)
commit3bc25adbbc961e69e90b56edc0d17ba8dbd5ae4d
treeefcc812e5afd7a7ad45e7f8be023a12e0782f3ba
parentbc02843e75e5b9a2dfc7469adceb3fa3b69bf5fb
Fix PMKID addition to RSN element when RSN Capabilities are not present

This code path could not be hit with the RSNE generated by hostapd or
wpa_supplicant, but it is now possible to reach when using
own_ie_override test functionality. The RSNE and IE buffer length were
not updated correct in case wpa_insert_pmkid() had to add the RSN
Capabilities field.

Signed-off-by: Jouni Malinen <j@w1.fi>
src/common/wpa_common.c