Fix a missed goal.period -> goal.offset change. In

this case, the bug resulted in comparing a period
against an offset.
This commit is contained in:
Justin T. Gibbs 2003-01-20 23:51:18 +00:00
parent 87c48ca382
commit 256081f980
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=109603

View File

@ -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;