Date: Sun, 30 Jan 2011 11:23:59 +0000 (UTC) From: Bernhard Schmidt <bschmidt@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r218085 - head/sys/net80211 Message-ID: <201101301123.p0UBNxuk069775@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bschmidt Date: Sun Jan 30 11:23:59 2011 New Revision: 218085 URL: http://svn.freebsd.org/changeset/base/218085 Log: Honor the IEEE80211_SCAN_BGSCAN flag, which makes it possible to actually request a background scan using IEEE80211_IOC_SCAN_BGSCAN. MFC after: 1 month Modified: head/sys/net80211/ieee80211_scan.c Modified: head/sys/net80211/ieee80211_scan.c ============================================================================== --- head/sys/net80211/ieee80211_scan.c Sun Jan 30 10:35:41 2011 (r218084) +++ head/sys/net80211/ieee80211_scan.c Sun Jan 30 11:23:59 2011 (r218085) @@ -416,6 +416,8 @@ start_scan_locked(const struct ieee80211 vap->iv_stats.is_scan_passive++; if (flags & IEEE80211_SCAN_FLUSH) ss->ss_ops->scan_flush(ss); + if (flags & IEEE80211_SCAN_BGSCAN) + ic->ic_flags_ext |= IEEE80211_FEXT_BGSCAN; /* NB: flush frames rx'd before 1st channel change */ SCAN_PRIVATE(ss)->ss_iflags |= ISCAN_DISCARD;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201101301123.p0UBNxuk069775>