FST: Do not prune STAs belonging to the same FST
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
This commit is contained in:
parent
ee03910777
commit
8bae489f15
1 changed files with 9 additions and 0 deletions
|
@ -10,6 +10,7 @@
|
|||
|
||||
#include "common.h"
|
||||
#include "common/ieee802_11_defs.h"
|
||||
#include "fst/fst.h"
|
||||
#include "sta_info.h"
|
||||
#include "hostapd.h"
|
||||
|
||||
|
@ -55,6 +56,14 @@ static int prune_associations(struct hostapd_iface *iface, void *ctx)
|
|||
ohapd = iface->bss[j];
|
||||
if (ohapd == data->hapd)
|
||||
continue;
|
||||
#ifdef CONFIG_FST
|
||||
/* Don't prune STAs belong to same FST */
|
||||
if (ohapd->iface->fst &&
|
||||
data->hapd->iface->fst &&
|
||||
fst_are_ifaces_aggregated(ohapd->iface->fst,
|
||||
data->hapd->iface->fst))
|
||||
continue;
|
||||
#endif /* CONFIG_FST */
|
||||
osta = ap_get_sta(ohapd, data->addr);
|
||||
if (!osta)
|
||||
continue;
|
||||
|
|
Loading…
Reference in a new issue