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
This commit is contained in:
Andriy Voskoboinyk 2016-04-21 06:19:33 +00:00
parent 6a25181bba
commit 8a9508c046
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=298392
2 changed files with 14 additions and 10 deletions

View File

@ -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

View File

@ -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