1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-10-19 02:29:40 +00:00

Change default setting of hw.wi.txerate to zero so that tx error msgs are

ignored (as before).  This was the original setting but a bug in ppsratecheck
made me do stupid things.
This commit is contained in:
Sam Leffler 2003-02-26 17:18:35 +00:00
parent 893bec8059
commit f1dacb5270
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=111559

View File

@ -174,9 +174,9 @@ SYSCTL_NODE(_hw, OID_AUTO, wi, CTLFLAG_RD, 0, "Wireless driver parameters");
static struct timeval lasttxerror; /* time of last tx error msg */
static int curtxeps; /* current tx error msgs/sec */
static int wi_txerate = -1; /* tx error rate: max msgs/sec */
static int wi_txerate = 0; /* tx error rate: max msgs/sec */
SYSCTL_INT(_hw_wi, OID_AUTO, txerate, CTLFLAG_RW, &wi_txerate,
0, "max tx error msgs/sec; -1 disables msgs");
0, "max tx error msgs/sec; 0 to disable msgs");
#define WI_DEBUG
#ifdef WI_DEBUG