summaryrefslogtreecommitdiffstats
path: root/sys/net80211
diff options
context:
space:
mode:
authoravos <avos@FreeBSD.org>2016-04-21 06:19:33 +0000
committeravos <avos@FreeBSD.org>2016-04-21 06:19:33 +0000
commit9a4fb399f8d7d0c74395792ab4efaa266ce8839b (patch)
tree92487b9e83515dbee0017db938cc427793390457 /sys/net80211
parentadccd65a50aa66e2a1c2863f3c35e99391e32033 (diff)
downloadFreeBSD-src-9a4fb399f8d7d0c74395792ab4efaa266ce8839b.zip
FreeBSD-src-9a4fb399f8d7d0c74395792ab4efaa266ce8839b.tar.gz
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
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 eca9c39..11cc8d9 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 6c9bcdb..323bf93 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
OpenPOWER on IntegriCloud