Subject: CVS commit: syssrc/sys/dev/ic
To: None <source-changes@netbsd.org>
From: Darrin B. Jewell <dbj@netbsd.org>
List: source-changes
Date: 03/04/2002 03:56:12
Module Name:	syssrc
Committed By:	dbj
Date:		Mon Mar  4 01:56:12 UTC 2002

Modified Files:
	syssrc/sys/dev/ic: wi.c

Log Message:
Don't attempt to gather unrequested statistics.

Allow SIOCSWAVELAN with WI_RID_IFACE_STATS to request
an immediate statistics update.

We might in the future want to have SIOCGWAVELAN with
WI_RID_IFACE_STATS return an error if a statistics gathering is in
progress.  Then the caller could request fresh statistics and gather
them when they are done.  Instead, we currently just return whatever
statistics are available, which may be up to 60 seconds old.


To generate a diff of this commit:
cvs rdiff -r1.48 -r1.49 syssrc/sys/dev/ic/wi.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.