X-Git-Url: http://git.ipfire.org/?p=thirdparty%2Fhostap.git;a=blobdiff_plain;f=src%2Fap%2Futils.c;fp=src%2Fap%2Futils.c;h=bedad6eb02f7bfda2b421ad4591e0edd6438b09a;hp=fcb371bec28343c90c478f80cb392588c3b923eb;hb=54e2961f80e283c7fc43b5f667ea6c948f334f0b;hpb=1a18f8df6370ae05c5d7f49f40adc43e02387f40 diff --git a/src/ap/utils.c b/src/ap/utils.c index fcb371bec..bedad6eb0 100644 --- a/src/ap/utils.c +++ b/src/ap/utils.c @@ -56,6 +56,10 @@ static int prune_associations(struct hostapd_iface *iface, void *ctx) ohapd = iface->bss[j]; if (ohapd == data->hapd) continue; +#ifdef CONFIG_TESTING_OPTIONS + if (ohapd->conf->skip_prune_assoc) + continue; +#endif /* CONFIG_TESTING_OPTIONS */ #ifdef CONFIG_FST /* Don't prune STAs belong to same FST */ if (ohapd->iface->fst &&