svn commit: r284141 - head/sys/net80211

Adrian Chadd adrian at FreeBSD.org
Mon Jun 8 00:30:59 UTC 2015


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 {


More information about the svn-src-head mailing list