Re: Possible bug in throughput based roaming

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

 



On Mon, Jan 16, 2017 at 08:30:14PM +0100, Andreas Pasternak MT-Robot AG wrote:
> In http://w1.fi/cgit/hostap/tree/wpa_supplicant/events.c
> 
> if (current_bss->est_throughput > selected->est_throughput + 5000) {
> wpa_dbg(wpa_s, MSG_DEBUG,
> "Skip roam - Current BSS has better estimated throughput");
> 
> // !!!!
> return 1;  // !!! Should this not be return 0; !!! ???
> // !!!!
> }
> 
> As far as I understood this function returns 1 if roaming should occur and 0

Yes, indeed. It looks like this could be a copy-paste error in a commit
that added this new skip-roam case. I'll fix it to return 0.

-- 
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