svn commit: r298392 - head/sys/net80211
Andriy Voskoboinyk
avos at FreeBSD.org
Thu Apr 21 06:19:34 UTC 2016
Author: avos
Date: Thu Apr 21 06:19:33 2016
New Revision: 298392
URL: https://svnweb.freebsd.org/changeset/base/298392
Log:
net80211: refresh comments for ieee80211_scan_next() and
ieee80211_scan_done().
Refresh comments that reference scan_next() method
(does not exist since r191746) + fix spelling of 'current'.
Differential Revision: https://reviews.freebsd.org/D5137
Modified:
head/sys/net80211/ieee80211_scan.c
head/sys/net80211/ieee80211_scan_sw.c
Modified: head/sys/net80211/ieee80211_scan.c
==============================================================================
--- head/sys/net80211/ieee80211_scan.c Thu Apr 21 06:14:30 2016 (r298391)
+++ head/sys/net80211/ieee80211_scan.c Thu Apr 21 06:19:33 2016 (r298392)
@@ -453,8 +453,9 @@ ieee80211_cancel_anyscan(struct ieee8021
}
/*
- * Public access to scan_next for drivers that manage
- * scanning themselves (e.g. for firmware-based devices).
+ * Manually switch to the next channel in the channel list.
+ * Provided for drivers that manage scanning themselves
+ * (e.g. for firmware-based devices).
*/
void
ieee80211_scan_next(struct ieee80211vap *vap)
@@ -465,8 +466,9 @@ ieee80211_scan_next(struct ieee80211vap
}
/*
- * Public access to scan_next for drivers that are not able to scan single
- * channels (e.g. for firmware-based devices).
+ * Manually stop a scan that is currently running.
+ * Provided for drivers that are not able to scan single channels
+ * (e.g. for firmware-based devices).
*/
void
ieee80211_scan_done(struct ieee80211vap *vap)
@@ -486,7 +488,7 @@ ieee80211_scan_done(struct ieee80211vap
}
/*
- * Probe the curent channel, if allowed, while scanning.
+ * Probe the current channel, if allowed, while scanning.
* If the channel is not marked passive-only then send
* a probe request immediately. Otherwise mark state and
* listen for beacons on the channel; if we receive something
Modified: head/sys/net80211/ieee80211_scan_sw.c
==============================================================================
--- head/sys/net80211/ieee80211_scan_sw.c Thu Apr 21 06:14:30 2016 (r298391)
+++ head/sys/net80211/ieee80211_scan_sw.c Thu Apr 21 06:19:33 2016 (r298392)
@@ -476,8 +476,9 @@ ieee80211_swscan_cancel_anyscan(struct i
}
/*
- * Public access to scan_next for drivers that manage
- * scanning themselves (e.g. for firmware-based devices).
+ * Manually switch to the next channel in the channel list.
+ * Provided for drivers that manage scanning themselves
+ * (e.g. for firmware-based devices).
*/
static void
ieee80211_swscan_scan_next(struct ieee80211vap *vap)
@@ -491,8 +492,9 @@ ieee80211_swscan_scan_next(struct ieee80
}
/*
- * Public access to scan_next for drivers that are not able to scan single
- * channels (e.g. for firmware-based devices).
+ * Manually stop a scan that is currently running.
+ * Provided for drivers that are not able to scan single channels
+ * (e.g. for firmware-based devices).
*/
static void
ieee80211_swscan_scan_done(struct ieee80211vap *vap)
@@ -506,7 +508,7 @@ ieee80211_swscan_scan_done(struct ieee80
}
/*
- * Probe the curent channel, if allowed, while scanning.
+ * Probe the current channel, if allowed, while scanning.
* If the channel is not marked passive-only then send
* a probe request immediately. Otherwise mark state and
* listen for beacons on the channel; if we receive something
More information about the svn-src-head
mailing list