* 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:
parent
fd43517b2c
commit
05b7510980
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user