summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorsam <sam@FreeBSD.org>2003-01-20 00:50:36 +0000
committersam <sam@FreeBSD.org>2003-01-20 00:50:36 +0000
commitf7141588f399f5abe4a4242a881ec7f21e25d87f (patch)
tree345705541dca365a764460870bc1116fc6ed19cd /sys
parent119058acd0f94ae837eca5bafbb049ff6dd40b5e (diff)
downloadFreeBSD-src-f7141588f399f5abe4a4242a881ec7f21e25d87f.zip
FreeBSD-src-f7141588f399f5abe4a4242a881ec7f21e25d87f.tar.gz
default tx error rate limiting to 0 to disable tx error msgs; this is
consistent with how the old driver worked
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/wi/if_wi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/wi/if_wi.c b/sys/dev/wi/if_wi.c
index 26b080a..f60a76a 100644
--- a/sys/dev/wi/if_wi.c
+++ b/sys/dev/wi/if_wi.c
@@ -172,7 +172,7 @@ wi_write_val(struct wi_softc *sc, int rid, u_int16_t val)
static struct timeval lasttxerror; /* time of last tx error msg */
static int curtxeps; /* current tx error msgs/sec */
-static int wi_txerate = 10; /* tx error rate: max msgs/sec */
+static int wi_txerate = 0; /* tx error rate: max msgs/sec */
SYSCTL_INT(_kern, OID_AUTO, wi, CTLFLAG_RW, &wi_txerate,
0, "Wireless driver max tx error msgs/sec; 0 disables msgs");
OpenPOWER on IntegriCloud