From nobody@FreeBSD.org  Tue Mar 19 13:18:57 2013
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1])
	by hub.freebsd.org (Postfix) with ESMTP id 3CA08919
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 19 Mar 2013 13:18:57 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id 2707D255
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 19 Mar 2013 13:18:57 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.5/8.14.5) with ESMTP id r2JDIu0K005141
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 19 Mar 2013 13:18:56 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.5/8.14.5/Submit) id r2JDIubX005140;
	Tue, 19 Mar 2013 13:18:56 GMT
	(envelope-from nobody)
Message-Id: <201303191318.r2JDIubX005140@red.freebsd.org>
Date: Tue, 19 Mar 2013 13:18:56 GMT
From: Hiren Panchasara <hiren.panchasara@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [patch] fix the manpage as iwn does not support adhoc mode
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         177106
>Category:       misc
>Synopsis:       [patch] fix the manpage as iwn does not support adhoc mode
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    glebius
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Mar 19 13:20:01 UTC 2013
>Closed-Date:    Mon Jun 24 09:35:37 UTC 2013
>Last-Modified:  Mon Jun 24 09:40:00 UTC 2013
>Originator:     Hiren Panchasara
>Release:        current
>Organization:
>Environment:
10.0-CURRENT FreeBSD 10.0-CURRENT #0 r247409M
>Description:
sbruno@ and I were tinkering with iwn found out that it does not support adhoc mode:

# ifconfig wlan create wlandev iwn0 wlanmode adhoc
ifconfig: SIOCIFCREATE2: Operation not supported

dmesg shows:
iwn0: IBSS mode not supported

Which seems correct looking at the code from $src/sys/dev/iwn/if_iwn.c:

 584 #if 0
 585                 | IEEE80211_C_IBSS              /* ibss/adhoc mode */
 586 #endif

Here is the patch to reflect that in man page.
>How-To-Repeat:

>Fix:
Index: share/man/man4/iwn.4
===================================================================
--- share/man/man4/iwn.4        (revision 248448)
+++ share/man/man4/iwn.4        (working copy)
@@ -101,7 +101,6 @@
 .Nm
 supports
 .Cm station ,
-.Cm adhoc ,
 and
 .Cm monitor
 mode operation.


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->patched 
State-Changed-By: glebius 
State-Changed-When: Tue Mar 19 13:44:00 UTC 2013 
State-Changed-Why:  
Committed, thanks. 


Responsible-Changed-From-To: freebsd-bugs->glebius 
Responsible-Changed-By: glebius 
Responsible-Changed-When: Tue Mar 19 13:44:00 UTC 2013 
Responsible-Changed-Why:  
Committed, thanks. 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: misc/177106: commit references a PR
Date: Tue, 19 Mar 2013 13:44:08 +0000 (UTC)

 Author: glebius
 Date: Tue Mar 19 13:43:55 2013
 New Revision: 248507
 URL: http://svnweb.freebsd.org/changeset/base/248507
 
 Log:
   iwn(4) doesn't support adhoc mode.
   
   PR:		misc/177106
   Submitted by:	Hiren Panchasara <hiren.panchasara gmail.com>
 
 Modified:
   head/share/man/man4/iwn.4
 
 Modified: head/share/man/man4/iwn.4
 ==============================================================================
 --- head/share/man/man4/iwn.4	Tue Mar 19 13:36:19 2013	(r248506)
 +++ head/share/man/man4/iwn.4	Tue Mar 19 13:43:55 2013	(r248507)
 @@ -25,7 +25,7 @@
  .\"
  .\" $FreeBSD$
  .\"
 -.Dd March 27, 2012
 +.Dd March 19, 2013
  .Dt IWN 4
  .Os
  .Sh NAME
 @@ -100,8 +100,7 @@ driver provides support for:
  .Pp
  .Nm
  supports
 -.Cm station ,
 -.Cm adhoc ,
 +.Cm station
  and
  .Cm monitor
  mode operation.
 _______________________________________________
 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: glebius 
State-Changed-When: Mon Jun 24 09:35:21 UTC 2013 
State-Changed-Why:  
Merged to stable/9. 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: misc/177106: commit references a PR
Date: Mon, 24 Jun 2013 09:37:08 +0000 (UTC)

 Author: glebius
 Date: Mon Jun 24 09:36:56 2013
 New Revision: 252155
 URL: http://svnweb.freebsd.org/changeset/base/252155
 
 Log:
   Merge r248507:
     iwn(4) doesn't support adhoc mode.
   
     PR:           misc/177106
     Submitted by: Hiren Panchasara <hiren.panchasara gmail.com>
 
 Modified:
   stable/9/share/man/man4/iwn.4
 Directory Properties:
   stable/9/share/man/man4/   (props changed)
 
 Modified: stable/9/share/man/man4/iwn.4
 ==============================================================================
 --- stable/9/share/man/man4/iwn.4	Mon Jun 24 09:35:14 2013	(r252154)
 +++ stable/9/share/man/man4/iwn.4	Mon Jun 24 09:36:56 2013	(r252155)
 @@ -25,7 +25,7 @@
  .\"
  .\" $FreeBSD$
  .\"
 -.Dd March 27, 2012
 +.Dd March 19, 2013
  .Dt IWN 4
  .Os
  .Sh NAME
 @@ -100,8 +100,7 @@ driver provides support for:
  .Pp
  .Nm
  supports
 -.Cm station ,
 -.Cm adhoc ,
 +.Cm station
  and
  .Cm monitor
  mode operation.
 _______________________________________________
 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"
 
>Unformatted:
