Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Mar 2018 08:22:24 +0000 (UTC)
From:      Eitan Adler <eadler@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r330460 - stable/11/sys/net80211
Message-ID:  <201803050822.w258MO8s017066@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: eadler
Date: Mon Mar  5 08:22:24 2018
New Revision: 330460
URL: https://svnweb.freebsd.org/changeset/base/330460

Log:
  MFC r308007:
  
  [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:
  stable/11/sys/net80211/ieee80211_scan_sw.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sys/net80211/ieee80211_scan_sw.c
==============================================================================
--- stable/11/sys/net80211/ieee80211_scan_sw.c	Mon Mar  5 08:21:31 2018	(r330459)
+++ stable/11/sys/net80211/ieee80211_scan_sw.c	Mon Mar  5 08:22:24 2018	(r330460)
@@ -461,6 +461,11 @@ ieee80211_swscan_cancel_scan(struct ieee80211vap *vap)
 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?201803050822.w258MO8s017066>