diff -r fc69e1e37771 -r fe8b59ab9fa0 telephonyprotocols/rawipnif/src/IPv4Binder.cpp --- a/telephonyprotocols/rawipnif/src/IPv4Binder.cpp Mon Mar 15 12:45:06 2010 +0200 +++ b/telephonyprotocols/rawipnif/src/IPv4Binder.cpp Wed Mar 31 23:24:02 2010 +0300 @@ -1,4 +1,4 @@ -// Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies). +// Copyright (c) 2006-2010 Nokia Corporation and/or its subsidiary(-ies). // All rights reserved. // This component and the accompanying materials are made available // under the terms of "Eclipse Public License v1.0" @@ -355,7 +355,7 @@ * Called by the protocol to send an outgoing IP packet to the network. * * @param aPdu The outgoing packet - * @return Standard error codes + * @return MLowerDataSender::ESendBlocked or ESendAccepted based on state of flow. */ { _LOG_L1C1(_L8("CIPv4Binder::Send")); @@ -364,10 +364,10 @@ LogPacket(aPdu); #endif - // Return <0: an error occurred - // Return 0: no error, but don't send any more packets + // Return ESendBlocked: flow cannot accept any more packets [blocked, queue full, etc] + // Return ESendAccepted: flow has accepted this packet and can accept another. - return static_cast(GetFlow().SendPacket(aPdu, NULL, KIp4FrameType)); + return GetFlow().SendPacket(aPdu, NULL, KIp4FrameType); } TInt CIPv4Binder::Notification(TAgentToNifEventType /*aEvent*/,