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:
parent
09861f4ebe
commit
911aebc844
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user