bluetooth/btstack/linkmgr/hcifacade_commands.cpp
branchRCL_3
changeset 16 9f17f914e828
parent 0 29b1cd4cb562
child 22 786b94c6f0a4
--- a/bluetooth/btstack/linkmgr/hcifacade_commands.cpp	Tue Apr 27 17:48:21 2010 +0300
+++ b/bluetooth/btstack/linkmgr/hcifacade_commands.cpp	Tue May 11 17:15:36 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"
@@ -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,20 +185,6 @@
 	iCmdController->MhcqAddCommandL(cmd, *this);
 	}
 
-void CHCIFacade::HostNumberOfCompletedPacketsL(THCIConnHandle aConnH, TUint16 aFrags)
-	{
-	RArray<THCIConnectionHandle> connHandles;
-	connHandles.Append(aConnH);
-
-	RArray<THCINumOfCompletedPackets> numPackets;
-	numPackets.Append(aFrags);
-		
-	CHostNumberOfCompletedPacketsCommand* cmd = CHostNumberOfCompletedPacketsCommand::NewL(1, connHandles, numPackets);
-
-	// 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);