Author: cgutman
Date: Mon May 25 00:25:11 2009
New Revision: 41105
URL:
http://svn.reactos.org/svn/reactos?rev=41105&view=rev
Log:
- Fix a bug that could result in Dma32BitAddresses being set if the caller specifies
NDIS_DMA_24BITS
Modified:
trunk/reactos/drivers/network/ndis/ndis/io.c
Modified: trunk/reactos/drivers/network/ndis/ndis/io.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/network/ndis/ndis/…
==============================================================================
--- trunk/reactos/drivers/network/ndis/ndis/io.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/network/ndis/ndis/io.c [iso-8859-1] Mon May 25 00:25:11 2009
@@ -308,7 +308,7 @@
if(DmaSize == NDIS_DMA_64BITS)
Description.Dma64BitAddresses = TRUE;
- else
+ else if(DmaSize == NDIS_DMA_32BITS)
Description.Dma32BitAddresses = TRUE;
AdapterObject = IoGetDmaAdapter(