diff -r b9d1744dc449 -r f72906e669b4 bluetooth/btstack/linkmgr/hcifacade_commands.cpp --- a/bluetooth/btstack/linkmgr/hcifacade_commands.cpp Wed Jun 23 19:28:39 2010 +0300 +++ b/bluetooth/btstack/linkmgr/hcifacade_commands.cpp Tue Jul 06 15:33:04 2010 +0300 @@ -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);