]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
net80211(4): fix rate check when 'roaming' ifconfig(8) option is set to 'auto'
authoravos <avos@FreeBSD.org>
Sun, 3 Feb 2019 02:32:13 +0000 (02:32 +0000)
committeravos <avos@FreeBSD.org>
Sun, 3 Feb 2019 02:32:13 +0000 (02:32 +0000)
commitdff16d97bd9810330e2c0047a854a5eb82ca6ae1
treea8bdbaef07b93a0aeee0821b80cd2b8a3d9f1dd4
parent62153c189a587482b08bc73f770a1efddc4ebaca
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.

Tested with RTL8188CUS, HOSTAP mode + RTL8821AU, STA mode.

MFC after: 3 days
sys/net80211/ieee80211_scan_sta.c