mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-21 22:09:23 +01:00
unit: Drop eapol_sm_free calls
WSC EAP method always results in failure, even if successful. Failed eapol_sm sessions are auto-cleaned, so there's no need to do this explicitly. Also eapol_exit() will clean up any left-over sessions, so drop this to make the code a bit simpler.
This commit is contained in:
parent
6421b3c5c1
commit
c2104b62a9
@ -2319,9 +2319,6 @@ static void test_ap_sta_run(struct test_ap_sta_data *s)
|
||||
s->to_sta_data, len, false);
|
||||
}
|
||||
|
||||
eapol_sm_free(s->ap_sm);
|
||||
eapol_sm_free(s->sta_sm);
|
||||
|
||||
eapol_exit();
|
||||
eap_exit();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user