mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-22 23:09:34 +01:00
plugins: updated sim_hardcoded with simauth changes
This commit is contained in:
parent
36804b1b5c
commit
3eb0083170
@ -367,14 +367,21 @@ end:
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
sim->auth = iwd_sim_auth_create(sim->sim_supported, sim->aka_supported,
|
||||
sim->identity, &hardcoded_sim_driver, NULL);
|
||||
sim->auth = iwd_sim_auth_create(&hardcoded_sim_driver);
|
||||
|
||||
iwd_sim_auth_set_nai(sim->auth, sim->identity);
|
||||
iwd_sim_auth_set_capabilities(sim->auth, sim->sim_supported,
|
||||
sim->aka_supported);
|
||||
|
||||
iwd_sim_auth_register(sim->auth);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
static void sim_hardcoded_exit(void)
|
||||
{
|
||||
iwd_sim_auth_remove(sim->auth);
|
||||
|
||||
if (sim)
|
||||
l_free(sim->identity);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user