mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-12-20 19:12:33 +01:00
eapol: Add eapol_sm_set_own_rsn
This commit is contained in:
parent
08b2980fd6
commit
2e1e484f95
@ -469,3 +469,11 @@ void eapol_sm_set_ap_rsn(struct eapol_sm *sm, const uint8_t *rsn_ie,
|
||||
l_free(sm->ap_rsn);
|
||||
sm->ap_rsn = l_memdup(rsn_ie, len);
|
||||
}
|
||||
|
||||
void eapol_sm_set_own_rsn(struct eapol_sm *sm, const uint8_t *rsn_ie,
|
||||
size_t len)
|
||||
{
|
||||
sm->own_rsn_size = len;
|
||||
l_free(sm->own_rsn);
|
||||
sm->own_rsn = l_memdup(rsn_ie, len);
|
||||
}
|
||||
|
@ -130,3 +130,5 @@ void eapol_sm_set_aa_address(struct eapol_sm *sm, const uint8_t *aa_addr);
|
||||
void eapol_sm_set_pmk(struct eapol_sm *sm, const uint8_t *pmk);
|
||||
void eapol_sm_set_ap_rsn(struct eapol_sm *sm, const uint8_t *rsn_ie,
|
||||
size_t len);
|
||||
void eapol_sm_set_own_rsn(struct eapol_sm *sm, const uint8_t *rsn_ie,
|
||||
size_t len);
|
||||
|
Loading…
Reference in New Issue
Block a user