From owner-freebsd-bugs  Wed Mar 29 22: 0: 5 2000
Delivered-To: freebsd-bugs@freebsd.org
Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21])
	by hub.freebsd.org (Postfix) with ESMTP id C7DEB37B7D7
	for <freebsd-bugs@FreeBSD.org>; Wed, 29 Mar 2000 22:00:02 -0800 (PST)
	(envelope-from gnats@FreeBSD.org)
Received: (from gnats@localhost)
	by freefall.freebsd.org (8.9.3/8.9.2) id WAA63283;
	Wed, 29 Mar 2000 22:00:02 -0800 (PST)
	(envelope-from gnats@FreeBSD.org)
Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21])
	by hub.freebsd.org (Postfix) with ESMTP id 3FC1137B711
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 29 Mar 2000 21:53:46 -0800 (PST)
	(envelope-from nobody@FreeBSD.org)
Received: (from nobody@localhost)
	by freefall.freebsd.org (8.9.3/8.9.2) id VAA61153;
	Wed, 29 Mar 2000 21:53:45 -0800 (PST)
	(envelope-from nobody@FreeBSD.org)
Message-Id: <200003300553.VAA61153@freefall.freebsd.org>
Date: Wed, 29 Mar 2000 21:53:45 -0800 (PST)
From: gshapiro+freebsd-bugs@gshapiro.net
To: freebsd-gnats-submit@FreeBSD.org
X-Send-Pr-Version: www-1.0
Subject: bin/17679: wicontrol should take multiple args on command line
Sender: owner-freebsd-bugs@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org


>Number:         17679
>Category:       bin
>Synopsis:       wicontrol should take multiple args on command line
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Mar 29 22:00:01 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     Gregory Neil Shapiro
>Release:        3.4-STABLE
>Organization:
>Environment:
FreeBSD monkeyboy.gshapiro.net 3.4-STABLE FreeBSD 3.4-STABLE #0: Tue Mar 21 22:25:47 PST 2000     root@monkeyboy.gshapiro.net:/usr/src/sys/compile/MONKEYBOY  i386
>Description:
wicontrol doesn't allow multiple changes in a single command.  For
example:

wicontrol -i wi0 -P 1 -S 200

will only enable power save (-P) and will silently ignore the sleep time
(-S) setting.
>How-To-Repeat:

>Fix:
Remove the exit(0); statements in the switch section of main()

>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message