summaryrefslogtreecommitdiff
path: root/sys/dev/ic/bwi.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2008-08-22 19:58:22 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2008-08-22 19:58:22 +0000
commite05df5810bc991d230de614b649cae008c0fd667 (patch)
tree309e0aead7c79f9482820ddf7506eab76535173c /sys/dev/ic/bwi.c
parent382374da4558eceeadbb678b08cfdd1029c58b0f (diff)
a ; in a bad place; dragonfly; ok mglocker
Diffstat (limited to 'sys/dev/ic/bwi.c')
-rw-r--r--sys/dev/ic/bwi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/bwi.c b/sys/dev/ic/bwi.c
index bae421f45cc..0cf7022bc5d 100644
--- a/sys/dev/ic/bwi.c
+++ b/sys/dev/ic/bwi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bwi.c,v 1.77 2008/07/21 18:43:19 damien Exp $ */
+/* $OpenBSD: bwi.c,v 1.78 2008/08/22 19:58:21 deraadt Exp $ */
/*
* Copyright (c) 2007 The DragonFly Project. All rights reserved.
@@ -5633,7 +5633,7 @@ bwi_rf_init_hw_nrssi_table(struct bwi_mac *mac, uint16_t adjust)
val -= adjust;
if (val < -32)
val = -32;
- else if (val > 31);
+ else if (val > 31)
val = 31;
bwi_nrssi_write(mac, i, val);