mirror of
https://github.com/opnsense/src.git
synced 2026-04-21 14:17:06 -04:00
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:
parent
6a25181bba
commit
8a9508c046
2 changed files with 14 additions and 10 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue