mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2025-01-20 01:14:07 +01:00
unit: update to the new eapol_start API
This commit is contained in:
parent
db8794460f
commit
25fb91034a
@ -1751,7 +1751,7 @@ static void eapol_sm_test_ptk(const void *data)
|
||||
assert(r);
|
||||
|
||||
eapol_sm_set_ap_rsn(sm, ap_rsne, sizeof(ap_rsne));
|
||||
eapol_start(1, NULL, sm);
|
||||
eapol_start(1, sm);
|
||||
|
||||
__eapol_set_tx_packet_func(verify_step2);
|
||||
__eapol_rx_packet(1, aa, eapol_key_data_3,
|
||||
@ -1811,7 +1811,7 @@ static void eapol_sm_test_wpa2_ptk_gtk(const void *data)
|
||||
assert(r);
|
||||
|
||||
eapol_sm_set_ap_rsn(sm, ap_rsne, sizeof(ap_rsne));
|
||||
eapol_start(1, NULL, sm);
|
||||
eapol_start(1, sm);
|
||||
|
||||
__eapol_set_tx_packet_func(verify_step2);
|
||||
__eapol_rx_packet(1, aa, eapol_key_data_7,
|
||||
@ -1874,7 +1874,7 @@ static void eapol_sm_test_wpa_ptk_gtk(const void *data)
|
||||
assert(r);
|
||||
|
||||
eapol_sm_set_ap_wpa(sm, ap_wpa_ie, sizeof(ap_wpa_ie));
|
||||
eapol_start(1, NULL, sm);
|
||||
eapol_start(1, sm);
|
||||
|
||||
__eapol_set_tx_packet_func(verify_step2);
|
||||
__eapol_rx_packet(1, ap_address, eapol_key_data_13,
|
||||
@ -1938,7 +1938,7 @@ static void eapol_sm_test_wpa_ptk_gtk_2(const void *data)
|
||||
assert(r);
|
||||
|
||||
eapol_sm_set_ap_wpa(sm, ap_wpa_ie, sizeof(ap_wpa_ie));
|
||||
eapol_start(1, NULL, sm);
|
||||
eapol_start(1, sm);
|
||||
|
||||
__eapol_set_tx_packet_func(verify_step2);
|
||||
__eapol_rx_packet(1, ap_address, eapol_key_data_19,
|
||||
@ -2166,7 +2166,7 @@ static void eapol_sm_test_tls(struct eapol_8021x_tls_test_state *s,
|
||||
assert(r);
|
||||
|
||||
eapol_sm_set_ap_wpa(sm, ap_wpa_ie, sizeof(ap_wpa_ie));
|
||||
eapol_start(1, NULL, sm);
|
||||
eapol_start(1, sm);
|
||||
|
||||
__eapol_set_tx_packet_func(verify_8021x_identity_resp);
|
||||
s->pending_req = 1;
|
||||
@ -2519,7 +2519,7 @@ static void eapol_sm_test_eap_nak(const void *data)
|
||||
assert(r);
|
||||
|
||||
eapol_sm_set_ap_wpa(sm, ap_wpa_ie, sizeof(ap_wpa_ie));
|
||||
eapol_start(1, NULL, sm);
|
||||
eapol_start(1, sm);
|
||||
|
||||
__eapol_set_tx_packet_func(verify_8021x_identity_resp);
|
||||
s.pending_req = 1;
|
||||
|
@ -2004,7 +2004,7 @@ static void wsc_test_pbc_handshake(const void *data)
|
||||
eapol_sm_set_8021x_config(sm, settings);
|
||||
l_settings_free(settings);
|
||||
|
||||
eapol_start(1, NULL, sm);
|
||||
eapol_start(1, sm);
|
||||
|
||||
VERIFY_RESET(verify, eap_identity_resp);
|
||||
__eapol_rx_packet(1, ap_address, eap_identity_req,
|
||||
|
Loading…
Reference in New Issue
Block a user