diff -r e5f94a37a5fc -r 230aed0f16aa bluetooth/btstack/linkmgr/hcifacade_commands.cpp --- a/bluetooth/btstack/linkmgr/hcifacade_commands.cpp Thu Jun 17 22:32:21 2010 +0100 +++ b/bluetooth/btstack/linkmgr/hcifacade_commands.cpp Thu Jul 22 16:44:39 2010 +0100 @@ -42,7 +42,6 @@ #include #include #include -#include #include #include #include @@ -186,24 +185,6 @@ iCmdController->MhcqAddCommandL(cmd, *this); } -void CHCIFacade::HostNumberOfCompletedPacketsL(THCIConnHandle aConnH, TUint16 aFrags) - { - RArray connHandles; - connHandles.AppendL(aConnH); - CleanupClosePushL(connHandles); - - RArray numPackets; - numPackets.AppendL(aFrags); - CleanupClosePushL(numPackets); - - CHostNumberOfCompletedPacketsCommand* cmd = CHostNumberOfCompletedPacketsCommand::NewL(1, connHandles, numPackets); - // ownership of arrays has been taken by cmd - CleanupStack::Pop(2, &connHandles); // &numPackets, &connHandles - - // Ownership of cmd transfered even if MhcqAddCommandL leaves - iCmdController->MhcqAddCommandL(cmd, *this); - } - void CHCIFacade::AcceptConnectionRequestL(const TBTDevAddr& aAddr, TUint8 aRole) { CAcceptConnectionRequestCommand* cmd = CAcceptConnectionRequestCommand::NewL(aAddr, aRole);