eapol: Remove unneeded {}

This commit is contained in:
Denis Kenzior 2017-10-18 20:40:10 -05:00
parent ac5d8c2b34
commit f07164b2ef
1 changed files with 1 additions and 2 deletions

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)