bluetoothengine/bteng/src/btengsrvsettingsmgr.cpp
changeset 65 001a94c71129
parent 45 b0aebde9b1fb
equal deleted inserted replaced
57:5ebadcda06cb 65:001a94c71129
   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 );