3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-18 10:19:24 +01:00

eapol: Add eapol_sm_set_aa_address

This commit is contained in:
Denis Kenzior 2015-02-24 10:56:39 -06:00
parent 122dfe7025
commit ff92e5c5e1
2 changed files with 6 additions and 0 deletions

View File

@ -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));
}
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));
}

View File

@ -126,3 +126,4 @@ struct eapol_sm *eapol_sm_new();
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_aa_address(struct eapol_sm *sm, const uint8_t *aa_addr);