From 013247cd19dd036ba508021e0edaba94b2a75960 Mon Sep 17 00:00:00 2001 From: gibbs Date: Mon, 20 Jan 2003 23:51:18 +0000 Subject: Fix a missed goal.period -> goal.offset change. In this case, the bug resulted in comparing a period against an offset. --- sys/dev/aic7xxx/aic79xx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/dev') diff --git a/sys/dev/aic7xxx/aic79xx.c b/sys/dev/aic7xxx/aic79xx.c index 8a90e86..b3807a5 100644 --- a/sys/dev/aic7xxx/aic79xx.c +++ b/sys/dev/aic7xxx/aic79xx.c @@ -37,7 +37,7 @@ * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGES. * - * $Id: //depot/aic7xxx/aic7xxx/aic79xx.c#155 $ + * $Id: //depot/aic7xxx/aic7xxx/aic79xx.c#156 $ * * $FreeBSD$ */ @@ -4227,7 +4227,7 @@ ahd_handle_msg_reject(struct ahd_softc *ahd, struct ahd_devinfo *devinfo) * but rejected our response, we already cleared the * sync rate before sending our WDTR. */ - if (tinfo->goal.period != tinfo->curr.offset) { + if (tinfo->goal.offset != tinfo->curr.offset) { /* Start the sync negotiation */ ahd->msgout_index = 0; -- cgit v1.1