Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Jun 2015 00:30:58 +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: r284141 - head/sys/net80211
Message-ID:  <201506080030.t580UwwQ007535@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: adrian
Date: Mon Jun  8 00:30:58 2015
New Revision: 284141
URL: https://svnweb.freebsd.org/changeset/base/284141

Log:
  Remove the start-scan call and re-inline it for now.

Modified:
  head/sys/net80211/ieee80211_scan_sw.c

Modified: head/sys/net80211/ieee80211_scan_sw.c
==============================================================================
--- head/sys/net80211/ieee80211_scan_sw.c	Sun Jun  7 21:59:43 2015	(r284140)
+++ head/sys/net80211/ieee80211_scan_sw.c	Mon Jun  8 00:30:58 2015	(r284141)
@@ -198,17 +198,6 @@ ieee80211_swscan_set_scan_duration(struc
 	SCAN_PRIVATE(ss)->ss_duration = duration;
 }
 
-void
-ieee80211_swscan_run_scan_task(struct ieee80211vap *vap)
-{
-	struct ieee80211com *ic = vap->iv_ic;
-	struct ieee80211_scan_state *ss = ic->ic_scan;
-
-	IEEE80211_LOCK_ASSERT(ic);
-
-	ieee80211_runtask(ic, &SCAN_PRIVATE(ss)->ss_scan_task);
-}
-
 /*
  * Start a scan unless one is already going.
  */
@@ -272,7 +261,7 @@ ieee80211_swscan_start_scan_locked(const
 			ic->ic_flags |= IEEE80211_F_SCAN;
 
 			/* Start scan task */
-			ieee80211_swscan_run_scan_task(vap);
+			ieee80211_runtask(ic, &SCAN_PRIVATE(ss)->ss_scan_task);
 		}
 		return 1;
 	} else {



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