Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Dec 2013 13:36:56 +0000 (UTC)
From:      Gavin Atkinson <gavin@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   svn commit: r259173 - stable/10/sys/net80211
Message-ID:  <201312101336.rBADauFV053097@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: gavin
Date: Tue Dec 10 13:36:56 2013
New Revision: 259173
URL: http://svnweb.freebsd.org/changeset/base/259173

Log:
  Merge r258758 (by adrian) from head:
  
    Make sure any waiters on the scan results get notified if the scan task
    decides to do nothing.
  
    If this isn't done, then a scan request whilst a scan occurs in an
    active channel set or a completed channel set will hang.
  
  Candidate for 10.0.

Modified:
  stable/10/sys/net80211/ieee80211_scan.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/net80211/ieee80211_scan.c
==============================================================================
--- stable/10/sys/net80211/ieee80211_scan.c	Tue Dec 10 13:35:04 2013	(r259172)
+++ stable/10/sys/net80211/ieee80211_scan.c	Tue Dec 10 13:36:56 2013	(r259173)
@@ -859,6 +859,7 @@ scan_task(void *arg, int pending)
 	if (ss->ss_next == ss->ss_last) {
 		IEEE80211_DPRINTF(vap, IEEE80211_MSG_SCAN,
 			"%s: no channels to scan\n", __func__);
+		scandone = 1;
 		goto done;
 	}
 



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