diff options
author | adrian <adrian@FreeBSD.org> | 2015-06-08 00:30:58 +0000 |
---|---|---|
committer | adrian <adrian@FreeBSD.org> | 2015-06-08 00:30:58 +0000 |
commit | 76faddae1159ff9075402ed51b7d752224b2fce7 (patch) | |
tree | 051687703115904c575eb9ebf411995f07e6e1af /sys/net80211 | |
parent | 2bc43a746d2a24b00b89aaaac24138c7fc2c425c (diff) | |
download | FreeBSD-src-76faddae1159ff9075402ed51b7d752224b2fce7.zip FreeBSD-src-76faddae1159ff9075402ed51b7d752224b2fce7.tar.gz |
Remove the start-scan call and re-inline it for now.
Diffstat (limited to 'sys/net80211')
-rw-r--r-- | sys/net80211/ieee80211_scan_sw.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/sys/net80211/ieee80211_scan_sw.c b/sys/net80211/ieee80211_scan_sw.c index 22f1cf9..9012619 100644 --- a/sys/net80211/ieee80211_scan_sw.c +++ b/sys/net80211/ieee80211_scan_sw.c @@ -198,17 +198,6 @@ ieee80211_swscan_set_scan_duration(struct ieee80211vap *vap, u_int duration) 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 struct ieee80211_scanner *scan, 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 { |