svn commit: r215564 - stable/8/sys/net80211
Bernhard Schmidt
bschmidt at FreeBSD.org
Sat Nov 20 13:26:09 UTC 2010
Author: bschmidt
Date: Sat Nov 20 13:26:09 2010
New Revision: 215564
URL: http://svn.freebsd.org/changeset/base/215564
Log:
MFC r213321:
Fix background roaming to actually work in AUTO roaming mode.
IEEE80211_F_BGSCAN is a vap flag, not a channel flag. So although bgscan
occured, sta_roam_check() would never be called.
Committed by: adrian
Modified:
stable/8/sys/net80211/ieee80211_scan_sta.c
Directory Properties:
stable/8/sys/ (props changed)
stable/8/sys/amd64/include/xen/ (props changed)
stable/8/sys/cddl/contrib/opensolaris/ (props changed)
stable/8/sys/contrib/dev/acpica/ (props changed)
stable/8/sys/contrib/pf/ (props changed)
stable/8/sys/dev/xen/xenpci/ (props changed)
Modified: stable/8/sys/net80211/ieee80211_scan_sta.c
==============================================================================
--- stable/8/sys/net80211/ieee80211_scan_sta.c Sat Nov 20 13:24:05 2010 (r215563)
+++ stable/8/sys/net80211/ieee80211_scan_sta.c Sat Nov 20 13:26:09 2010 (r215564)
@@ -1361,7 +1361,7 @@ sta_age(struct ieee80211_scan_state *ss)
KASSERT(vap->iv_opmode == IEEE80211_M_STA,
("wrong mode %u", vap->iv_opmode));
if (vap->iv_roaming == IEEE80211_ROAMING_AUTO &&
- (vap->iv_ic->ic_flags & IEEE80211_F_BGSCAN) &&
+ (vap->iv_flags & IEEE80211_F_BGSCAN) &&
vap->iv_state >= IEEE80211_S_RUN)
/* XXX vap is implicit */
sta_roam_check(ss, vap);
More information about the svn-src-stable
mailing list