--- a/bluetooth/btstack/linkmgr/hcifacade_events.cpp Wed Sep 15 13:27:26 2010 +0300
+++ b/bluetooth/btstack/linkmgr/hcifacade_events.cpp Wed Oct 13 15:48:34 2010 +0300
@@ -80,7 +80,6 @@
#include <bluetooth/hci/vendordebugcompleteevent.h>
#include <bluetooth/hci/writesimplepairingmodecommand.h>
#include <bluetooth/hci/readlocalsupportedcommandscommand.h>
-#include <bluetooth/hci/encryptionkeyrefreshcompleteevent.h>
// Command Complete Events
@@ -1221,14 +1220,6 @@
iLinksMgr->MaxSlotsChange(maxSlotsChangeEvent.ConnectionHandle(), maxSlotsChangeEvent.LMPMaxSlots());
}
-void CHCIFacade::EncryptionKeyRefreshCompleteEvent(const THCIEventBase& aEvent, const CHCICommandBase* /*aRelatedCommand*/)
- {
- LOG_FUNC
- const TEncryptionKeyRefreshCompleteEvent& refreshCompleteEvent = TEncryptionKeyRefreshCompleteEvent::Cast(aEvent);
-
- iLinksMgr->EncryptionKeyRefreshComplete(aEvent.ErrorCode(), refreshCompleteEvent.ConnectionHandle());
- }
-
// ----------------------------------------------------------------------------
// Data event processing functions
// ----------------------------------------------------------------------------
@@ -1356,10 +1347,6 @@
case EVendorDebugEvent:
VendorDebugEvent(aEvent, aRelatedCommand);
break;
-
- case EEncryptionKeyRefreshCompleteEvent:
- EncryptionKeyRefreshCompleteEvent(aEvent, aRelatedCommand);
- break;
// Inquiry based events.
// By default these should be caused by the inquiry manager and so be returned to it.
@@ -1395,6 +1382,7 @@
case EPageScanModeChangeEvent:
case EPageScanRepetitionModeChangeEvent:
case EUserPasskeyRequestEvent:
+ case EEncryptionKeyRefreshCompleteEvent:
LOG1(_L("Warning!! Unhandled Command Event (event code:%d)"), aEvent.EventCode());
break;