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

eapol: Don't ignore EAPoL protocol version 2010

Some newer Cisco APs seem to send this protocol version by default
This commit is contained in:
Denis Kenzior 2021-03-22 14:09:19 -05:00
parent 73b247d72f
commit d958239da9
2 changed files with 2 additions and 0 deletions

View File

@ -2796,6 +2796,7 @@ void __eapol_rx_packet(uint32_t ifindex, const uint8_t *src, uint16_t proto,
switch (eh->protocol_version) {
case EAPOL_PROTOCOL_VERSION_2001:
case EAPOL_PROTOCOL_VERSION_2004:
case EAPOL_PROTOCOL_VERSION_2010:
break;
default:
return;

View File

@ -50,6 +50,7 @@ const struct eapol_key *eapol_key_validate(const uint8_t *frame, size_t len,
switch (ek->header.protocol_version) {
case EAPOL_PROTOCOL_VERSION_2001:
case EAPOL_PROTOCOL_VERSION_2004:
case EAPOL_PROTOCOL_VERSION_2010:
break;
default:
return NULL;