SAE: Use a shared data structure for AP and station
This makes it easier to share common functions for both roles. Signed-hostap: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
05a8d4221d
commit
98efcc4176
6 changed files with 47 additions and 19 deletions
|
@ -240,6 +240,10 @@ void ap_free_sta(struct hostapd_data *hapd, struct sta_info *sta)
|
|||
os_free(sta->identity);
|
||||
os_free(sta->radius_cui);
|
||||
|
||||
#ifdef CONFIG_SAE
|
||||
os_free(sta->sae);
|
||||
#endif /* CONFIG_SAE */
|
||||
|
||||
os_free(sta);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue