mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-12-23 06:02:37 +01:00
eap-pwd: Use bit_field from ell
This commit is contained in:
parent
113c1086e2
commit
74ec6530cb
@ -569,7 +569,7 @@ error:
|
|||||||
static void eap_pwd_process(struct eap_state *eap,
|
static void eap_pwd_process(struct eap_state *eap,
|
||||||
const uint8_t *pkt, size_t len)
|
const uint8_t *pkt, size_t len)
|
||||||
{
|
{
|
||||||
uint8_t pwd_exch = util_bit_field(pkt[0], 0, 6);
|
uint8_t pwd_exch = bit_field(pkt[0], 0, 6);
|
||||||
|
|
||||||
if (len < 1)
|
if (len < 1)
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user