From 3f5e44167f1f00da17f3215dcff11ad661fb9479 Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Wed, 28 Feb 2018 04:41:55 +0000 Subject: [PATCH] spelling: packet --- src/SeLow/SeLow.c | 6 +++--- src/SeLow/SeLow.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/SeLow/SeLow.c b/src/SeLow/SeLow.c index 5ae60dc7..c426a653 100644 --- a/src/SeLow/SeLow.c +++ b/src/SeLow/SeLow.c @@ -524,7 +524,7 @@ NTSTATUS SlDeviceCloseProc(DEVICE_OBJECT *device_object, IRP *irp) // Wait until the number of packet being sent becomes the zero while (true) { - if (f->NumSendingPacketets == 0) + if (f->NumSendingPackets == 0) { break; } @@ -1060,7 +1060,7 @@ NTSTATUS SlDeviceWriteProc(DEVICE_OBJECT *device_object, IRP *irp) if (nbl_head != NULL) { - InterlockedExchangeAdd(&f->NumSendingPacketets, num_packets); + InterlockedExchangeAdd(&f->NumSendingPackets, num_packets); InterlockedExchangeAdd(&f->Adapter->NumPendingSendPackets, num_packets); SlUnlock(f->Adapter->Lock); @@ -1741,7 +1741,7 @@ void SlNdisSendNetBufferListsCompleteProc(NDIS_HANDLE protocol_binding_context, NdisFreeNetBufferList(current_nbl); // Reduce the number of packets being sent by 1 - InterlockedExchangeAdd(&f->NumSendingPacketets, (LONG)-1); + InterlockedExchangeAdd(&f->NumSendingPackets, (LONG)-1); InterlockedExchangeAdd(&f->Adapter->NumPendingSendPackets, (LONG)-1); } } diff --git a/src/SeLow/SeLow.h b/src/SeLow/SeLow.h index 19f32a98..ed8c5dfa 100644 --- a/src/SeLow/SeLow.h +++ b/src/SeLow/SeLow.h @@ -260,7 +260,7 @@ typedef struct SL_FILE SL_PACKET *RecvPacketTail; // Tail of the received packet UINT NumRecvPackets; // Number of items of the received packet queue NDIS_HANDLE NetBufferListPool; // NET_BUFFER_LIST Pool - volatile UINT NumSendingPacketets; // Number of packets being transmitted + volatile UINT NumSendingPackets; // Number of packets being transmitted bool SetEventFlag; // Flag to set an event bool FinalWakeUp; } SL_FILE;