nl80211: Make nl80211_remove_link() non-static

No functionality changes.

This is needed to support STOP_AP events for MLD interface in a
subsequent change.

Signed-off-by: Aditya Kumar Singh <quic_adisi@quicinc.com>
This commit is contained in:
Aditya Kumar Singh 2024-04-25 15:45:21 +05:30 committed by Jouni Malinen
parent 2d290f1966
commit f519f472e6
2 changed files with 2 additions and 1 deletions

View file

@ -9458,7 +9458,7 @@ fail:
}
static int nl80211_remove_link(struct i802_bss *bss, int link_id)
int nl80211_remove_link(struct i802_bss *bss, int link_id)
{
struct wpa_driver_nl80211_data *drv = bss->drv;
struct i802_link *link;

View file

@ -353,6 +353,7 @@ const char * nl80211_iftype_str(enum nl80211_iftype mode);
void nl80211_restore_ap_mode(struct i802_bss *bss);
struct i802_link * nl80211_get_link(struct i802_bss *bss, s8 link_id);
u8 nl80211_get_link_id_from_link(struct i802_bss *bss, struct i802_link *link);
int nl80211_remove_link(struct i802_bss *bss, int link_id);
static inline bool nl80211_link_valid(u16 links, s8 link_id)
{