bluetoothengine/bteng/src/btengsrvsession.cpp
branchRCL_3
changeset 55 613943a21004
parent 35 95674584745d
child 56 9386f31cc85b
--- a/bluetoothengine/bteng/src/btengsrvsession.cpp	Thu Aug 19 10:05:41 2010 +0300
+++ b/bluetoothengine/bteng/src/btengsrvsession.cpp	Tue Aug 31 15:25:10 2010 +0300
@@ -21,7 +21,6 @@
 #include "btengsrvsession.h"
 #include "btengserver.h"
 #include "btengsrvbbconnectionmgr.h"
-#include "btengpairman.h"
 #include "btengsrvsettingsmgr.h"
 #include "btengclientserver.h"
 #include "debug.h"
@@ -158,7 +157,6 @@
     if( !aMessage.IsNull() &&
         ( err || 
           ( aMessage.Function() != EBTEngNotifyConnectionEvents && 
-            aMessage.Function() != EBTEngPairDevice &&
             aMessage.Function() != EBTEngSetPowerState ) ) )
         {
             // Return the error code to the client.
@@ -260,25 +258,6 @@
             Server()->BasebandConnectionManager()->ManageTopology( ETrue );
             }
             break;
-        case EBTEngSetPairingObserver:
-            {
-            CheckPowerOnL();
-            // Simply forward it to the pairing manager
-            Server()->PairManager()->ProcessCommandL( aMessage );
-            break;
-            }
-        case EBTEngPairDevice:
-            {
-            CheckPowerOnL();
-            // Simply forward it to the pairing manager
-            Server()->PairManager()->ProcessCommandL( aMessage );
-            break;
-            }
-        case EBTEngCancelPairDevice:
-            {
-            Server()->PairManager()->ProcessCommandL( aMessage );
-            break;
-            }
         default:
             {
             TRACE_INFO( ( _L( "[BTENG]\t DispatchMessageL: bad request (%d)" ), aMessage.Function() ) )