3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-12-22 21:22:37 +01:00

eap-pwd: Use bit_field from ell

This commit is contained in:
Denis Kenzior 2021-03-11 22:35:03 -06:00
parent 113c1086e2
commit 74ec6530cb

View File

@ -569,7 +569,7 @@ error:
static void eap_pwd_process(struct eap_state *eap,
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)
return;