mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-30 10:52:50 +00:00
MFC r343697:
net80211(4): fix rate check when 'roaming' ifconfig(8) option is set to 'auto' Do not try to clear 'basic rate' bit from roamRate; it cannot be here and, actually, this operation clears 'MCS rate' bit instead, breaking comparison for 11n / 11ac modes.
This commit is contained in:
parent
1016d958e0
commit
b4274b1660
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/stable/10/; revision=343818
@ -1311,7 +1311,6 @@ sta_roam_check(struct ieee80211_scan_state *ss, struct ieee80211vap *vap)
|
||||
curRssi = ic->ic_node_getrssi(ni);
|
||||
if (ucastRate == IEEE80211_FIXED_RATE_NONE) {
|
||||
curRate = ni->ni_txrate;
|
||||
roamRate &= IEEE80211_RATE_VAL;
|
||||
IEEE80211_DPRINTF(vap, IEEE80211_MSG_ROAM,
|
||||
"%s: currssi %d currate %u roamrssi %d roamrate %u\n",
|
||||
__func__, curRssi, curRate, roamRssi, roamRate);
|
||||
|
Loading…
Reference in New Issue
Block a user