Fix the behavior of preferring weaker-but-still-good 5Ghz APs over
authorjcs <jcs@openbsd.org>
Tue, 12 Dec 2017 00:24:21 +0000 (00:24 +0000)
committerjcs <jcs@openbsd.org>
Tue, 12 Dec 2017 00:24:21 +0000 (00:24 +0000)
commita90e20dc4e9fb10689eb6c88d509b3952d06ac78
treeb4ebc12ad3fb8d5a45006528b3ec1e90178585a0
parent0a9a54a35dd51b7f9951e810334b28bf33b99e6a
Fix the behavior of preferring weaker-but-still-good 5Ghz APs over
2Ghz APs because the 5Ghz band is generally less saturated.

The previous implementation was dependent upon the order of walking
APs.

ok stsp
sys/net80211/ieee80211_node.c