ieee80211_ess_is_better() returns 0 or 1, comparing > 1 is always
authorflorian <florian@openbsd.org>
Thu, 19 Jul 2018 09:16:17 +0000 (09:16 +0000)
committerflorian <florian@openbsd.org>
Thu, 19 Jul 2018 09:16:17 +0000 (09:16 +0000)
commitf5c31c991c94649054bb674fd63c7abbfd8818b8
tree4c39c44a9a40ea7df43408527fc03f597cd37f0d
parent13e6c35f25a1caa4d6539e47bcff9e18972d991c
ieee80211_ess_is_better() returns 0 or 1, comparing > 1 is always
false so we always selected the first wifi available, not the best
one.

While here shuffle some deck chairs to make it clearer that anything is
better than nothing.

tweak & OK phessler
sys/net80211/ieee80211_node.c