Revert "transceiver: Use length fields in UDP receive calls"

This reverts commit 30c652fe4f.
This commit is contained in:
Michael Iedema
2016-06-10 06:43:18 -07:00
parent 6135b5838f
commit b4c16be0e5
2 changed files with 4 additions and 4 deletions

View File

@@ -463,7 +463,7 @@ void Transceiver::driveControl(unsigned ARFCN)
int msgLen = -1;
buffer[0] = '\0';
msgLen = mControlSocket[ARFCN]->read(buffer, sizeof(buffer));
msgLen = mControlSocket[ARFCN]->read(buffer);
mControlLock.lock();
@@ -725,7 +725,7 @@ bool Transceiver::driveTransmitPriorityQueue(unsigned ARFCN)
char buffer[gSlotLen+50];
// check data socket
size_t msgLen = mDataSocket[ARFCN]->read(buffer, sizeof(buffer));
size_t msgLen = mDataSocket[ARFCN]->read(buffer);
ScopedLock lock(mTransmitPriorityQueueLock);