aboutsummaryrefslogtreecommitdiffstats
path: root/src/drivers/driver_atheros.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_atheros.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_atheros.c')
-rw-r--r--src/drivers/driver_atheros.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/drivers/driver_atheros.c b/src/drivers/driver_atheros.c
index f24a40f..94e139a 100644
--- a/src/drivers/driver_atheros.c
+++ b/src/drivers/driver_atheros.c
@@ -339,8 +339,8 @@ madwifi_set_sta_authorized(void *priv, const u8 *addr, int authorized)
}
static int
-madwifi_sta_set_flags(void *priv, const u8 *addr, int total_flags,
- int flags_or, int flags_and)
+madwifi_sta_set_flags(const char *ifname, void *priv, const u8 *addr,
+ int total_flags, int flags_or, int flags_and)
{
/* For now, only support setting Authorized flag */
if (flags_or & WPA_STA_AUTHORIZED)