* Applied patch by Andreas to use RECEIVE_BUFFER_SIZE where it should be used.

* This closes ticket #6165.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37125 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2010-06-13 16:17:23 +00:00
parent fd43517b2c
commit 05b7510980

View File

@ -91,7 +91,7 @@ EthernetService::Init(EthernetInterface *interface)
fInterface = interface;
fSendBuffer = fInterface->AllocateSendReceiveBuffer(
2 * SEND_BUFFER_SIZE);
SEND_BUFFER_SIZE + RECEIVE_BUFFER_SIZE);
if (!fSendBuffer)
return B_NO_MEMORY;
fReceiveBuffer = (uint8*)fSendBuffer + SEND_BUFFER_SIZE;