From 35e41faa80690d44706a0fafff459d409a741a19 Mon Sep 17 00:00:00 2001 From: deraadt Date: Fri, 22 Aug 2008 19:58:21 +0000 Subject: [PATCH] a ; in a bad place; dragonfly; ok mglocker --- sys/dev/ic/bwi.c | 4 ++-- 1 file 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); -- 2.20.1