3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2025-01-09 00:12:36 +01:00

scan: Fix the supported rates factor in bss ranking

This commit is contained in:
Andrew Zaborowski 2016-10-04 05:47:46 +02:00 committed by Denis Kenzior
parent 09861f4ebe
commit 911aebc844

View File

@ -774,7 +774,7 @@ static void scan_bss_compute_rank(struct scan_bss *bss)
* Section 6.5.5.2
*/
factor = factor * max / 108 + RANK_MIN_SUPPORTED_RATE_FACTOR;
bss->rank *= factor;
rank *= factor;
}
irank = rank;