hostapd: add ifname to the sta_set_flags callback
This fixes multi-BSS STA operations (e.g., setting AUTHORIZED flag) with nl80211-based drivers.
This commit is contained in:
parent
23e2550c0e
commit
4c32757d22
8 changed files with 18 additions and 15 deletions
|
@ -468,8 +468,8 @@ bsd_set_ieee8021x(void *priv, struct wpa_bss_params *params)
|
|||
}
|
||||
|
||||
static int
|
||||
bsd_set_sta_authorized(void *priv, const u8 *addr, int total_flags,
|
||||
int flags_or, int flags_and)
|
||||
bsd_set_sta_authorized(const char *ifname, void *priv, const u8 *addr,
|
||||
int total_flags, int flags_or, int flags_and)
|
||||
{
|
||||
int authorized = -1;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue