From nobody@FreeBSD.org  Sat Feb 21 05:20:59 2009
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id CABC5106564A
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 21 Feb 2009 05:20:59 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id BA0898FC14
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 21 Feb 2009 05:20:59 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n1L5Kx6h077776
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 21 Feb 2009 05:20:59 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id n1L5KxCA077775;
	Sat, 21 Feb 2009 05:20:59 GMT
	(envelope-from nobody)
Message-Id: <200902210520.n1L5KxCA077775@www.freebsd.org>
Date: Sat, 21 Feb 2009 05:20:59 GMT
From: David Horn <dhorn2000@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: man4/wlan.4 update:  update refs to wlandebug
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         131927
>Category:       docs
>Synopsis:       [patch] man4/wlan.4 update:  update refs to wlandebug
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    sam
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Feb 21 05:30:02 UTC 2009
>Closed-Date:    Mon Jun 15 04:48:30 UTC 2009
>Last-Modified:  Mon Jun 15 04:48:30 UTC 2009
>Originator:     David Horn
>Release:        7.1
>Organization:
>Environment:
FreeBSD top-bsd 7.1-STABLE FreeBSD 7.1-STABLE #1: Mon Feb 16 19:52:45 EST 2009     dhorn@top-bsd.private.nullcore.com:/usr/obj/usr/src/sys/DHORN  i386

>Description:
The man page for wlan(4) has references to a non-existent debug utility:

"80211debug".  I'm guessing it was renamed at some point, but someone forgot to update the man page.

The correct utility is "wlandebug(8)".  Simple fix (attached) to wlan.4
>How-To-Repeat:
man 4 wlan, and look for the string 80211debug

>Fix:
Attached unified diff patch.

Patch attached with submission follows:

--- wlan.4.original	2009-02-21 00:02:30.000000000 -0500
+++ wlan.4	2009-02-21 00:10:01.000000000 -0500
@@ -99,11 +99,12 @@
 .Dl "sysctl net.wlan.0.debug=0x00200000"
 .Pp
 enables debugging messages related to scanning for an access point,
 adhoc neighbor, or an unoccupied channel when operation as an access point.
 The
-.Xr 80211debug
+.Xr
+.Cm wlandebug(8) 
 tool provides a more user-friendly mechanism for doing the same thing.
 .Pp
 Many drivers will also display the contents of each 802.11 frame
 sent and received when the interface is marked with
 both debugging and
@@ -133,10 +134,11 @@
 .Xr wlan_acl 4 ,
 .Xr wlan_ccmp 4 ,
 .Xr wlan_tkip 4 ,
 .Xr wlan_wep 4 ,
 .Xr wlan_xauth 4 ,
+.Xr wlandebug 8 ,
 .Xr zyd 4
 .Sh STANDARDS
 More information can be found in the IEEE 802.11 Standard.
 .Sh HISTORY
 The


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-doc->daner 
Responsible-Changed-By: danger 
Responsible-Changed-When: Sat Feb 21 09:25:54 UTC 2009 
Responsible-Changed-Why:  


http://www.freebsd.org/cgi/query-pr.cgi?pr=131927 
Responsible-Changed-From-To: daner->danger 
Responsible-Changed-By: danger 
Responsible-Changed-When: Sat Feb 21 09:26:15 UTC 2009 
Responsible-Changed-Why:  
Take 

http://www.freebsd.org/cgi/query-pr.cgi?pr=131927 
State-Changed-From-To: open->patched 
State-Changed-By: danger 
State-Changed-When: Sat Feb 21 09:35:08 UTC 2009 
State-Changed-Why:  
This is already fixed in the head, in rev. 1.16. However this 
was part of bigger changes. I will pass this PR to sam so he 
can decide how to proceed. 

Thank you for submission though! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=131927 
Responsible-Changed-From-To: danger->sam 
Responsible-Changed-By: danger 
Responsible-Changed-When: Sat Feb 21 09:37:00 UTC 2009 
Responsible-Changed-Why:  
Pass to sam, as he has fixed this as part of bigger commit, so he 
can track this. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=131927 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: docs/131927: commit references a PR
Date: Sat, 21 Feb 2009 19:19:23 +0000 (UTC)

 Author: sam
 Date: Sat Feb 21 19:19:11 2009
 New Revision: 188898
 URL: http://svn.freebsd.org/changeset/base/188898
 
 Log:
   fix cross-refs to wlandebug
   
   PR:		docs/131927
   Submitted by:	David Horn <dhorn2000@gmail.com>
 
 Modified:
   stable/7/share/man/man4/wlan.4
 
 Modified: stable/7/share/man/man4/wlan.4
 ==============================================================================
 --- stable/7/share/man/man4/wlan.4	Sat Feb 21 16:39:26 2009	(r188897)
 +++ stable/7/share/man/man4/wlan.4	Sat Feb 21 19:19:11 2009	(r188898)
 @@ -101,7 +101,7 @@ For example,
  enables debugging messages related to scanning for an access point,
  adhoc neighbor, or an unoccupied channel when operation as an access point.
  The
 -.Xr 80211debug
 +.Xr wlandebug
  tool provides a more user-friendly mechanism for doing the same thing.
  .Pp
  Many drivers will also display the contents of each 802.11 frame
 @@ -135,7 +135,8 @@ was used to be compatible with
  .Xr wlan_tkip 4 ,
  .Xr wlan_wep 4 ,
  .Xr wlan_xauth 4 ,
 -.Xr zyd 4
 +.Xr zyd 4 ,
 +.Xr wlandebug 8
  .Sh STANDARDS
  More information can be found in the IEEE 802.11 Standard.
  .Sh HISTORY
 _______________________________________________
 svn-src-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-src-all
 To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: patched->closed 
State-Changed-By: sam 
State-Changed-When: Mon Jun 15 04:48:18 UTC 2009 
State-Changed-Why:  
fixed in head and releng7 

http://www.freebsd.org/cgi/query-pr.cgi?pr=131927 
>Unformatted:
