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:
parent
84127caee1
commit
94a2a26621
@ -37,7 +37,7 @@
|
|||||||
* IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
* IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||||
* POSSIBILITY OF SUCH DAMAGES.
|
* POSSIBILITY OF SUCH DAMAGES.
|
||||||
*
|
*
|
||||||
* $Id: //depot/aic7xxx/aic7xxx/aic79xx.c#155 $
|
* $Id: //depot/aic7xxx/aic7xxx/aic79xx.c#156 $
|
||||||
*
|
*
|
||||||
* $FreeBSD$
|
* $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
|
* but rejected our response, we already cleared the
|
||||||
* sync rate before sending our WDTR.
|
* sync rate before sending our WDTR.
|
||||||
*/
|
*/
|
||||||
if (tinfo->goal.period != tinfo->curr.offset) {
|
if (tinfo->goal.offset != tinfo->curr.offset) {
|
||||||
|
|
||||||
/* Start the sync negotiation */
|
/* Start the sync negotiation */
|
||||||
ahd->msgout_index = 0;
|
ahd->msgout_index = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user