FT: Allow CCMP-256 and GCMP-256 as group ciphers
The FT-specific check for valid group cipher in wpa_ft_gen_req_ies() was not up-to-date with the current list of supported ciphers. Fix this by using a generic function to determine validity of the cipher. In practice, this adds support for using CCMP-256 and GCMP-256 as the group cipher with FT. Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
348bc4e0eb
commit
05a90d78dc
3 changed files with 3 additions and 4 deletions
|
@ -168,9 +168,7 @@ static u8 * wpa_ft_gen_req_ies(struct wpa_sm *sm, size_t *len,
|
|||
pos = (u8 *) (rsnie + 1);
|
||||
|
||||
/* Group Suite Selector */
|
||||
if (sm->group_cipher != WPA_CIPHER_CCMP &&
|
||||
sm->group_cipher != WPA_CIPHER_GCMP &&
|
||||
sm->group_cipher != WPA_CIPHER_TKIP) {
|
||||
if (!wpa_cipher_valid_group(sm->group_cipher)) {
|
||||
wpa_printf(MSG_WARNING, "FT: Invalid group cipher (%d)",
|
||||
sm->group_cipher);
|
||||
os_free(buf);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue