3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-26 18:59:22 +01:00

fils: Use bit_field from ell

This commit is contained in:
Denis Kenzior 2021-03-11 22:33:45 -06:00
parent d60c58f595
commit 113c1086e2

View File

@ -27,6 +27,7 @@
#include <ell/ell.h> #include <ell/ell.h>
#include "ell/useful.h"
#include "src/ie.h" #include "src/ie.h"
#include "src/fils.h" #include "src/fils.h"
#include "src/handshake.h" #include "src/handshake.h"
@ -507,7 +508,7 @@ static int fils_rx_associate(struct auth_proto *driver, const uint8_t *frame,
if (!gtk) if (!gtk)
goto invalid_ies; goto invalid_ies;
gtk_key_index = util_bit_field(gtk[0], 0, 2); gtk_key_index = bit_field(gtk[0], 0, 2);
gtk += 2; gtk += 2;
gtk_len -= 2; gtk_len -= 2;