aboutsummaryrefslogtreecommitdiff
path: root/sys/net80211
diff options
context:
space:
mode:
authorAndriy Voskoboinyk <avos@FreeBSD.org>2016-04-21 06:19:33 +0000
committerAndriy Voskoboinyk <avos@FreeBSD.org>2016-04-21 06:19:33 +0000
commit8a9508c04626dccefc2bbe702ba9feddde55df82 (patch)
tree92487b9e83515dbee0017db938cc427793390457 /sys/net80211
parent6a25181bba9c3e11f3fdb0b6da8ed8d048a4249e (diff)
downloadsrc-8a9508c04626dccefc2bbe702ba9feddde55df82.tar.gz
src-8a9508c04626dccefc2bbe702ba9feddde55df82.zip
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
Notes
Notes: svn path=/head/; revision=298392
Diffstat (limited to 'sys/net80211')
-rw-r--r--sys/net80211/ieee80211_scan.c12
-rw-r--r--sys/net80211/ieee80211_scan_sw.c12
2 files changed, 14 insertions, 10 deletions
diff --git a/sys/net80211/ieee80211_scan.c b/sys/net80211/ieee80211_scan.c
index eca9c399e32c..11cc8d992b41 100644
--- a/sys/net80211/ieee80211_scan.c
+++ b/sys/net80211/ieee80211_scan.c
@@ -453,8 +453,9 @@ ieee80211_cancel_anyscan(struct ieee80211vap *vap)
}
/*
- * 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 *vap)
}
/*
- * 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 *vap)
}
/*
- * 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
diff --git a/sys/net80211/ieee80211_scan_sw.c b/sys/net80211/ieee80211_scan_sw.c
index 6c9bcdbfa84e..323bf9322726 100644
--- a/sys/net80211/ieee80211_scan_sw.c
+++ b/sys/net80211/ieee80211_scan_sw.c
@@ -476,8 +476,9 @@ ieee80211_swscan_cancel_anyscan(struct ieee80211vap *vap)
}
/*
- * 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 ieee80211vap *vap)
}
/*
- * 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 ieee80211vap *vap)
}
/*
- * 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