mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-12-19 10:02:33 +01:00
eapol: Add eapol_sm_set_aa_address
This commit is contained in:
parent
122dfe7025
commit
ff92e5c5e1
@ -451,3 +451,8 @@ void eapol_sm_set_sta_address(struct eapol_sm *sm, const uint8_t *sta_addr)
|
|||||||
{
|
{
|
||||||
memcpy(sm->sta_addr, sta_addr, sizeof(sm->sta_addr));
|
memcpy(sm->sta_addr, sta_addr, sizeof(sm->sta_addr));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void eapol_sm_set_aa_address(struct eapol_sm *sm, const uint8_t *aa_addr)
|
||||||
|
{
|
||||||
|
memcpy(sm->aa_addr, aa_addr, sizeof(sm->aa_addr));
|
||||||
|
}
|
||||||
|
@ -126,3 +126,4 @@ struct eapol_sm *eapol_sm_new();
|
|||||||
void eapol_sm_free(struct eapol_sm *sm);
|
void eapol_sm_free(struct eapol_sm *sm);
|
||||||
|
|
||||||
void eapol_sm_set_sta_address(struct eapol_sm *sm, const uint8_t *sta_addr);
|
void eapol_sm_set_sta_address(struct eapol_sm *sm, const uint8_t *sta_addr);
|
||||||
|
void eapol_sm_set_aa_address(struct eapol_sm *sm, const uint8_t *aa_addr);
|
||||||
|
Loading…
Reference in New Issue
Block a user