mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-26 10:39:23 +01:00
eapol: Add eapol_sm_set_sta_address
This commit is contained in:
parent
2866fbbf91
commit
122dfe7025
@ -446,3 +446,8 @@ void eapol_sm_free(struct eapol_sm *sm)
|
||||
{
|
||||
eapol_sm_destroy(sm);
|
||||
}
|
||||
|
||||
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));
|
||||
}
|
||||
|
@ -124,3 +124,5 @@ struct eapol_key *eapol_create_ptk_4_of_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);
|
||||
|
Loading…
Reference in New Issue
Block a user