mirror of
https://github.com/reactos/reactos.git
synced 2024-09-12 22:02:18 +00:00
remove a miss use assert in ProtocolReceive, I have talk with arty about it.
svn path=/trunk/; revision=22906
This commit is contained in:
parent
045ca1dd86
commit
c693aa7a2b
|
@ -486,9 +486,7 @@ NDIS_STATUS STDCALL ProtocolReceive(
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if (NdisStatus == NDIS_STATUS_SUCCESS)
|
if (NdisStatus == NDIS_STATUS_SUCCESS)
|
||||||
{
|
{
|
||||||
ASSERT(PacketSize <= Adapter->MTU);
|
|
||||||
|
|
||||||
NdisTransferData(&NdisStatus, Adapter->NdisHandle,
|
NdisTransferData(&NdisStatus, Adapter->NdisHandle,
|
||||||
MacReceiveContext, 0, PacketSize,
|
MacReceiveContext, 0, PacketSize,
|
||||||
NdisPacket, &BytesTransferred);
|
NdisPacket, &BytesTransferred);
|
||||||
|
|
Loading…
Reference in a new issue