Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Oct 2016 02:09:46 +0000 (UTC)
From:      Adrian Chadd <adrian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r308007 - head/sys/net80211
Message-ID:  <201610280209.u9S29kIp085857@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: adrian
Date: Fri Oct 28 02:09:45 2016
New Revision: 308007
URL: https://svnweb.freebsd.org/changeset/base/308007

Log:
  [net80211] don't abort a background scan upon reception of a single packet.
  
  Full offload drivers don't need this behaviour - they do it in firmware.

Modified:
  head/sys/net80211/ieee80211_scan_sw.c

Modified: head/sys/net80211/ieee80211_scan_sw.c
==============================================================================
--- head/sys/net80211/ieee80211_scan_sw.c	Fri Oct 28 00:04:04 2016	(r308006)
+++ head/sys/net80211/ieee80211_scan_sw.c	Fri Oct 28 02:09:45 2016	(r308007)
@@ -467,6 +467,11 @@ ieee80211_swscan_cancel_scan(struct ieee
 static void
 ieee80211_swscan_cancel_anyscan(struct ieee80211vap *vap)
 {
+
+	/* XXX for now - just don't do this per packet. */
+	if (vap->iv_flags_ext & IEEE80211_FEXT_SCAN_OFFLOAD)
+		return;
+
 	cancel_scan(vap, 1, __func__);
 }
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201610280209.u9S29kIp085857>