a ; in a bad place; dragonfly; ok mglocker
authorderaadt <deraadt@openbsd.org>
Fri, 22 Aug 2008 19:58:21 +0000 (19:58 +0000)
committerderaadt <deraadt@openbsd.org>
Fri, 22 Aug 2008 19:58:21 +0000 (19:58 +0000)
sys/dev/ic/bwi.c

index bae421f..0cf7022 100644 (file)
@@ -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);