Re: wpa_supplicant: why is BSS blacklisted twice ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Apr 09, 2018 at 03:08:58PM +0000, Jean Pierre TOSONI wrote:
> Reading the code in wpa_supplicant.c, in function wpas_connection_failed(),
> I see that a BSS may be blacklisted twice in a row.
> 
> This happens if another AP is known for the same network, resulting in the
> blacklist count being directly set to 2.
> 
> So I just wonder why it is needed to blacklist twice? Anybody knows?

The comments in that function explain the high level reason for this.
The matching code is in wpa_scan_res_match() for determining when to
consider a BSS blacklisted where the default behavior is to require at
least count 2 if multiple networks are enabled.

-- 
Jouni Malinen                                            PGP id EFC895FA

_______________________________________________
Hostap mailing list
Hostap@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/hostap



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux