summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2008-08-22 19:58:21 +0000
committerderaadt <deraadt@openbsd.org>2008-08-22 19:58:21 +0000
commit35e41faa80690d44706a0fafff459d409a741a19 (patch)
treeb9cad22a14eaebf417576ac794966230453505a9
parentSmarter implementation of calloc(3), which uses the fact that mmap(2) (diff)
downloadwireguard-openbsd-35e41faa80690d44706a0fafff459d409a741a19.tar.xz
wireguard-openbsd-35e41faa80690d44706a0fafff459d409a741a19.zip
a ; in a bad place; dragonfly; ok mglocker
-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);