mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-22 23:09:34 +01:00
fils: Use bit_field from ell
This commit is contained in:
parent
d60c58f595
commit
113c1086e2
@ -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;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user