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
1 changed files with 1 additions and 1 deletions

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;