summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsam <sam@FreeBSD.org>2003-02-26 17:18:35 +0000
committersam <sam@FreeBSD.org>2003-02-26 17:18:35 +0000
commit55ad40591c6b9581452e25fff8526a772449db4f (patch)
tree25d66e3f24c7a6119346ed247e38fd8234e76229
parentebbf7468f1403db9c710d85eca100eee6667141c (diff)
downloadFreeBSD-src-55ad40591c6b9581452e25fff8526a772449db4f.zip
FreeBSD-src-55ad40591c6b9581452e25fff8526a772449db4f.tar.gz
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.
-rw-r--r--sys/dev/wi/if_wi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/wi/if_wi.c b/sys/dev/wi/if_wi.c
index a5c6ff6..e7f8cd1 100644
--- a/sys/dev/wi/if_wi.c
+++ b/sys/dev/wi/if_wi.c
@@ -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
OpenPOWER on IntegriCloud