- Fix a bug that could result in Dma32BitAddresses being set if the caller specifies NDIS_DMA_24BITS

svn path=/trunk/; revision=41105
This commit is contained in:
Cameron Gutman 2009-05-24 20:25:11 +00:00
parent 8ab4f0feec
commit a49c349111

View file

@ -308,7 +308,7 @@ NdisMAllocateMapRegisters(
if(DmaSize == NDIS_DMA_64BITS)
Description.Dma64BitAddresses = TRUE;
else
else if(DmaSize == NDIS_DMA_32BITS)
Description.Dma32BitAddresses = TRUE;
AdapterObject = IoGetDmaAdapter(