commit 113c1086e204bcee0be22fa2aeb857190a5ba4b2
parent d60c58f595829678fe3b4378639e99215b3462b3
Author: Denis Kenzior <denkenz@gmail.com>
Date: Thu, 11 Mar 2021 22:33:45 -0600
fils: Use bit_field from ell
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/fils.c b/src/fils.c
@@ -27,6 +27,7 @@
#include <ell/ell.h>
+#include "ell/useful.h"
#include "src/ie.h"
#include "src/fils.h"
#include "src/handshake.h"
@@ -507,7 +508,7 @@ static int fils_rx_associate(struct auth_proto *driver, const uint8_t *frame,
if (!gtk)
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_len -= 2;