mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-12-22 13:02:44 +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:
parent
73b247d72f
commit
d958239da9
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user