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:
Felix Fietkau 2010-03-06 20:44:31 +02:00 committed by Jouni Malinen
parent 23e2550c0e
commit 4c32757d22
8 changed files with 18 additions and 15 deletions

View file

@ -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);
}