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,7 +265,7 @@ int hostapd_set_ap_wps_ie(struct hostapd_data *hapd)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
static bool hostapd_sta_is_link_sta(struct hostapd_data *hapd,
|
bool hostapd_sta_is_link_sta(struct hostapd_data *hapd,
|
||||||
struct sta_info *sta)
|
struct sta_info *sta)
|
||||||
{
|
{
|
||||||
#ifdef CONFIG_IEEE80211BE
|
#ifdef CONFIG_IEEE80211BE
|
||||||
|
|
|
@ -26,6 +26,8 @@ void hostapd_free_ap_extra_ies(struct hostapd_data *hapd, struct wpabuf *beacon,
|
||||||
struct wpabuf *assocresp);
|
struct wpabuf *assocresp);
|
||||||
int hostapd_reset_ap_wps_ie(struct hostapd_data *hapd);
|
int hostapd_reset_ap_wps_ie(struct hostapd_data *hapd);
|
||||||
int hostapd_set_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,
|
int hostapd_set_authorized(struct hostapd_data *hapd,
|
||||||
struct sta_info *sta, int authorized);
|
struct sta_info *sta, int authorized);
|
||||||
int hostapd_set_sta_flags(struct hostapd_data *hapd, struct sta_info *sta);
|
int hostapd_set_sta_flags(struct hostapd_data *hapd, struct sta_info *sta);
|
||||||
|
|
Loading…
Reference in a new issue