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

eapol: Remove unneeded {}

This commit is contained in:
Denis Kenzior 2017-10-18 20:40:10 -05:00
parent ac5d8c2b34
commit f07164b2ef

View File

@ -1383,10 +1383,9 @@ static void eapol_handle_gtk_1_of_2(struct eapol_sm *sm,
handshake_state_install_gtk(sm->handshake, gtk_key_index, handshake_state_install_gtk(sm->handshake, gtk_key_index,
gtk, gtk_len, ek->key_rsc, 6); gtk, gtk_len, ek->key_rsc, 6);
if (igtk) { if (igtk)
handshake_state_install_igtk(sm->handshake, igtk_key_index, handshake_state_install_igtk(sm->handshake, igtk_key_index,
igtk + 6, igtk_len - 6, igtk); igtk + 6, igtk_len - 6, igtk);
}
} }
static struct eapol_sm *eapol_find_sm(uint32_t ifindex, const uint8_t *aa) static struct eapol_sm *eapol_find_sm(uint32_t ifindex, const uint8_t *aa)