diff --git a/DS4Windows/DS4Control/UdpServer.cs b/DS4Windows/DS4Control/UdpServer.cs index 242f459099..2ce4b904c3 100644 --- a/DS4Windows/DS4Control/UdpServer.cs +++ b/DS4Windows/DS4Control/UdpServer.cs @@ -194,9 +194,6 @@ private void ProcessIncoming(byte[] localMsg, IPEndPoint clientEP) uint packetSize = BitConverter.ToUInt16(localMsg, currIdx); currIdx += 2; - if (packetSize < 0) - return; - packetSize += 16; //size of header if (packetSize > localMsg.Length) return;