--- 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 <bluetooth/hci/rejectsynchronousconnectionrequestcommand.h>
#include <bluetooth/hci/disconnectcommand.h>
#include <bluetooth/hci/writelinkpolicysettingscommand.h>
-#include <bluetooth/hci/hostnumberofcompletedpacketscommand.h>
#include <bluetooth/hci/acceptconnectionrequestcommand.h>
#include <bluetooth/hci/rejectconnectionrequestcommand.h>
#include <bluetooth/hci/readremoteversioninfocommand.h>
@@ -186,24 +185,6 @@
iCmdController->MhcqAddCommandL(cmd, *this);
}
-void CHCIFacade::HostNumberOfCompletedPacketsL(THCIConnHandle aConnH, TUint16 aFrags)
- {
- RArray<THCIConnectionHandle> connHandles;
- connHandles.AppendL(aConnH);
- CleanupClosePushL(connHandles);
-
- RArray<THCINumOfCompletedPackets> 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);