Export hostapd_sta_is_link_sta()
This functionality can be shared with other files as well. Signed-off-by: Aditya Kumar Singh <quic_adisi@quicinc.com>
This commit is contained in:
parent
df34c2ced3
commit
19e50f8627
2 changed files with 4 additions and 2 deletions
|
@ -265,8 +265,8 @@ int hostapd_set_ap_wps_ie(struct hostapd_data *hapd)
|
|||
}
|
||||
|
||||
|
||||
static bool hostapd_sta_is_link_sta(struct hostapd_data *hapd,
|
||||
struct sta_info *sta)
|
||||
bool hostapd_sta_is_link_sta(struct hostapd_data *hapd,
|
||||
struct sta_info *sta)
|
||||
{
|
||||
#ifdef CONFIG_IEEE80211BE
|
||||
if (ap_sta_is_mld(hapd, sta) &&
|
||||
|
|
|
@ -26,6 +26,8 @@ void hostapd_free_ap_extra_ies(struct hostapd_data *hapd, struct wpabuf *beacon,
|
|||
struct wpabuf *assocresp);
|
||||
int hostapd_reset_ap_wps_ie(struct hostapd_data *hapd);
|
||||
int hostapd_set_ap_wps_ie(struct hostapd_data *hapd);
|
||||
bool hostapd_sta_is_link_sta(struct hostapd_data *hapd,
|
||||
struct sta_info *sta);
|
||||
int hostapd_set_authorized(struct hostapd_data *hapd,
|
||||
struct sta_info *sta, int authorized);
|
||||
int hostapd_set_sta_flags(struct hostapd_data *hapd, struct sta_info *sta);
|
||||
|
|
Loading…
Reference in a new issue