aboutsummaryrefslogtreecommitdiffstats
path: root/src/drivers/driver_bsd.c
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2010-03-06 18:44:31 (GMT)
committerJouni Malinen <j@w1.fi>2010-03-06 18:44:31 (GMT)
commit4c32757d2277687b17fdbb40199123a4d8c6be67 (patch)
treecb722e35f8e51b87ec15c74a11e36dedb8ed858b /src/drivers/driver_bsd.c
parent23e2550c0e16cfbd87a389e1b846673d5ba87929 (diff)
downloadhostap-4c32757d2277687b17fdbb40199123a4d8c6be67.zip
hostap-4c32757d2277687b17fdbb40199123a4d8c6be67.tar.gz
hostap-4c32757d2277687b17fdbb40199123a4d8c6be67.tar.bz2
hostapd: add ifname to the sta_set_flags callback
This fixes multi-BSS STA operations (e.g., setting AUTHORIZED flag) with nl80211-based drivers.
Diffstat (limited to 'src/drivers/driver_bsd.c')
-rw-r--r--src/drivers/driver_bsd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/drivers/driver_bsd.c b/src/drivers/driver_bsd.c
index 2ba7c8b..7e060d4 100644
--- a/src/drivers/driver_bsd.c
+++ b/src/drivers/driver_bsd.c
@@ -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;