mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-12-24 06:52:37 +01:00
eapol: Return if eapol_find_sm returns NULL
This commit is contained in:
parent
a95b0e3a5a
commit
3432cfa53e
@ -785,6 +785,8 @@ void __eapol_rx_packet(uint32_t ifindex, const uint8_t *spa, const uint8_t *aa,
|
||||
return;
|
||||
|
||||
sm = eapol_find_sm(ifindex, spa, aa);
|
||||
if (!sm)
|
||||
return;
|
||||
|
||||
/* Wrong direction */
|
||||
if (!ek->key_ack)
|
||||
|
Loading…
Reference in New Issue
Block a user