NetBSD Problem Report #9714

Received: (qmail 4650 invoked from network); 31 Mar 2000 01:47:07 -0000
Message-Id: <200003310146.LAA00926@kaakeli.ssh.fi>
Date: Fri, 31 Mar 2000 11:16:44 +0930 (CST)
From: kivinen@ssh.fi
Reply-To: kivinen@ssh.fi
To: gnats-bugs@gnats.netbsd.org
Subject: Wiconfig does not support -a option mentioned in the man page and usage
X-Send-Pr-Version: 3.95

>Number:         9714
>Category:       bin
>Synopsis:       Wiconfig does not support -a option mentioned in the man page and usage
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Mar 30 17:48:00 +0000 2000
>Closed-Date:    Wed Oct 11 16:12:14 +0000 2000
>Last-Modified:  Wed Oct 11 16:12:14 +0000 2000
>Originator:     Tero Kivinen
>Release:        <NetBSD-current 2000-03-27
>Organization:
SSH Communications Security
>Environment:
System: NetBSD kaakeli.ssh.fi 1.4W NetBSD 1.4W (KAAKELI) #0: Mon Mar 27 18:29:39 CST 2000 ztk@kaakeli.ssh.fi:/usr/src/sys/arch/i386/compile/KAAKELI i386


>Description:

wiconfig usage and man page says that it supports -a option, but
support for that is missing from the wiconfig program itself.

>How-To-Repeat:

wiconfig -i wi0 -a 1

>Fix:

*** wiconfig.c.orig	Fri Mar 31 08:46:12 2000
--- wiconfig.c	Thu Mar 30 23:39:31 2000
***************
*** 638,644 ****
  	}

  	while((ch = getopt(argc, argv,
! 	    "hoc:d:f:p:r:q:t:n:s:i:m:P:S:T:e:k:v:")) != -1) {
  		switch(ch) {
  		case 'o':
  			wi_dumpstats(iface);
--- 638,644 ----
  	}

  	while((ch = getopt(argc, argv,
! 	    "hoa:c:d:f:p:r:q:t:n:s:i:m:P:S:T:e:k:v:")) != -1) {
  		switch(ch) {
  		case 'o':
  			wi_dumpstats(iface);
***************
*** 694,699 ****
--- 694,703 ----
  			break;
  		case 'P':
  			wi_setword(iface, WI_RID_PM_ENABLED, atoi(optarg));
+ 			exit(0);
+ 			break;
+ 		case 'a':
+ 			wi_setword(iface, WI_RID_SYSTEM_SCALE, atoi(optarg));
  			exit(0);
  			break;
  		case 'T':

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: itojun 
State-Changed-When: Wed Oct 11 09:11:55 PDT 2000 
State-Changed-Why:  
fixed by now. thanks. 
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.