bluetoothengine/bteng/src/btengsrvsettingsmgr.cpp
changeset 66 b3d605f76ff8
parent 52 4545c04e61e1
equal deleted inserted replaced
63:bcf742120177 66:b3d605f76ff8
   469             (void) RProperty::Set(KPropertyUidBluetoothCategory, 
   469             (void) RProperty::Set(KPropertyUidBluetoothCategory, 
   470                                    KPropertyKeyBluetoothSetSimplePairingDebugMode,
   470                                    KPropertyKeyBluetoothSetSimplePairingDebugMode,
   471                                    (TInt) aDebugMode );
   471                                    (TInt) aDebugMode );
   472             SetPowerStateL( EBTOff, EFalse );
   472             SetPowerStateL( EBTOff, EFalse );
   473             }
   473             }
   474         else
   474         else if( !( iServer->IsTimerQueued( CBTEngServer::ESspDebugModeTimer ) ) )
   475             {
   475             {
   476             // There are still existing connections, queue the
   476             // There are still existing connections, queue the
   477             // timer again for half the period.
   477             // timer again for half the period.
   478             TInt64 interval = KBTEngSspDebugModeTimeout / 2;
   478             TInt64 interval = KBTEngSspDebugModeTimeout / 2;
   479             iServer->QueueTimer( CBTEngServer::ESspDebugModeTimer, interval );
   479             iServer->QueueTimer( CBTEngServer::ESspDebugModeTimer, interval );