Fix the return value of HalReadDmaCounter at the end of transfer.

svn path=/trunk/; revision=17630
This commit is contained in:
Filip Navara 2005-09-04 11:17:37 +00:00
parent 3a10e56852
commit 6561d0f414

View file

@ -977,6 +977,7 @@ HalReadDmaCounter(
KeReleaseSpinLock(&AdapterObject->MasterAdapter->SpinLock, OldIrql);
Count++;
Count &= 0xffff;
if (AdapterObject->Width16Bits)
Count *= 2;