aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/driver_i.h
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 /wpa_supplicant/driver_i.h
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 'wpa_supplicant/driver_i.h')
-rw-r--r--wpa_supplicant/driver_i.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/wpa_supplicant/driver_i.h b/wpa_supplicant/driver_i.h
index 7f64c4c..c835e91 100644
--- a/wpa_supplicant/driver_i.h
+++ b/wpa_supplicant/driver_i.h
@@ -367,7 +367,8 @@ static inline int wpa_drv_sta_set_flags(struct wpa_supplicant *wpa_s,
int flags_or, int flags_and)
{
if (wpa_s->driver->sta_set_flags)
- return wpa_s->driver->sta_set_flags(wpa_s->drv_priv, addr,
+ return wpa_s->driver->sta_set_flags(wpa_s->ifname,
+ wpa_s->drv_priv, addr,
total_flags, flags_or,
flags_and);
return -1;