mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2025-01-09 08:22:42 +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
|
* Section 6.5.5.2
|
||||||
*/
|
*/
|
||||||
factor = factor * max / 108 + RANK_MIN_SUPPORTED_RATE_FACTOR;
|
factor = factor * max / 108 + RANK_MIN_SUPPORTED_RATE_FACTOR;
|
||||||
bss->rank *= factor;
|
rank *= factor;
|
||||||
}
|
}
|
||||||
|
|
||||||
irank = rank;
|
irank = rank;
|
||||||
|
Loading…
Reference in New Issue
Block a user