aboutsummaryrefslogtreecommitdiffstats
path: root/src/ap/ap_drv_ops.c
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2010-03-06 20:44:31 +0200
committerJouni Malinen <j@w1.fi>2010-03-06 20:44:31 +0200
commit4c32757d2277687b17fdbb40199123a4d8c6be67 (patch)
treecb722e35f8e51b87ec15c74a11e36dedb8ed858b /src/ap/ap_drv_ops.c
parent23e2550c0e16cfbd87a389e1b846673d5ba87929 (diff)
downloadexternal_wpa_supplicant_8_ti-4c32757d2277687b17fdbb40199123a4d8c6be67.zip
external_wpa_supplicant_8_ti-4c32757d2277687b17fdbb40199123a4d8c6be67.tar.gz
external_wpa_supplicant_8_ti-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/ap/ap_drv_ops.c')
-rw-r--r--src/ap/ap_drv_ops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ap/ap_drv_ops.c b/src/ap/ap_drv_ops.c
index 80beac7..956b546 100644
--- a/src/ap/ap_drv_ops.c
+++ b/src/ap/ap_drv_ops.c
@@ -490,7 +490,7 @@ int hostapd_sta_set_flags(struct hostapd_data *hapd, u8 *addr,
{
if (hapd->driver == NULL || hapd->driver->sta_set_flags == NULL)
return 0;
- return hapd->driver->sta_set_flags(hapd->drv_priv, addr, total_flags,
+ return hapd->driver->sta_set_flags(hapd->conf->iface, hapd->drv_priv, addr, total_flags,
flags_or, flags_and);
}