Commit in reactos/drivers/net/ndis/ndis on MAIN
miniport.c+4-51.43 -> 1.44
Make packet printing obey debug bits.

reactos/drivers/net/ndis/ndis
miniport.c 1.43 -> 1.44
diff -u -r1.43 -r1.44
--- miniport.c	23 Nov 2004 23:51:01 -0000	1.43
+++ miniport.c	30 Nov 2004 04:23:42 -0000	1.44
@@ -67,11 +67,10 @@
 MiniDisplayPacket(
     PNDIS_PACKET Packet)
 {
-//#ifdef DBG
-#if 0
+#ifdef DBG
     ULONG i, Length;
     UCHAR Buffer[64];
-    if ((DebugTraceLevel | DEBUG_PACKET) > 0) {
+    if ((DebugTraceLevel & DEBUG_PACKET) > 0) {
         Length = CopyPacketToBuffer(
             (PUCHAR)&Buffer,
             Packet,
@@ -99,7 +98,7 @@
     UINT   LookaheadBufferSize)
 {
 #ifdef DBG
-    if ((DebugTraceLevel | DEBUG_PACKET) > 0) {
+    if ((DebugTraceLevel & DEBUG_PACKET) > 0) {
         ULONG i, Length;
         PUCHAR p;
 
@@ -1544,7 +1543,7 @@
         Status = NdisIForwardIrpAndWait(Adapter, Irp);
         if (NT_SUCCESS(Status) && NT_SUCCESS(Irp->IoStatus.Status))
           {
-            Status = NdisIPnPStartDevice(DeviceObject, Irp);
+	      Status = NdisIPnPStartDevice(DeviceObject, Irp);
           }
         Irp->IoStatus.Status = Status;
         IoCompleteRequest(Irp, IO_NO_INCREMENT);
CVSspam 0.2.8