Correct a logic mistake introduced in a recent cleanup of

ahc_build_transfer_msg() that would cause use to fail to send the
DT_REQ ppr_option in a PPR message for periods where DT transfers
are required.
This commit is contained in:
Justin T. Gibbs 2000-09-25 21:56:19 +00:00
parent bd7064a794
commit 1c1c47a3e9
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=66371

View file

@ -1867,7 +1867,7 @@ ahc_build_transfer_msg(struct ahc_softc *ahc, struct ahc_devinfo *devinfo)
period = tinfo->goal.period;
ppr_options = tinfo->goal.ppr_options;
if (dosync)
if (use_ppr == 0)
ppr_options = 0;
rate = ahc_devlimited_syncrate(ahc, &period, &ppr_options);
offset = tinfo->goal.offset;