From owner-svn-src-all@freebsd.org Thu Apr 21 06:19:34 2016 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B6A1AB17FAF; Thu, 21 Apr 2016 06:19:34 +0000 (UTC) (envelope-from avos@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 90D371E99; Thu, 21 Apr 2016 06:19:34 +0000 (UTC) (envelope-from avos@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u3L6JXHI053447; Thu, 21 Apr 2016 06:19:33 GMT (envelope-from avos@FreeBSD.org) Received: (from avos@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u3L6JXKw053445; Thu, 21 Apr 2016 06:19:33 GMT (envelope-from avos@FreeBSD.org) Message-Id: <201604210619.u3L6JXKw053445@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: avos set sender to avos@FreeBSD.org using -f From: Andriy Voskoboinyk Date: Thu, 21 Apr 2016 06:19:33 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r298392 - head/sys/net80211 X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Apr 2016 06:19:34 -0000 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