bluetoothengine/btpbap/src/Pbapplugin.cpp
changeset 67 16e4b9007960
parent 0 f63038272f30
equal deleted inserted replaced
65:001a94c71129 67:16e4b9007960
   140 // CPBAPplugin::Disconnect
   140 // CPBAPplugin::Disconnect
   141 // ---------------------------------------------------------
   141 // ---------------------------------------------------------
   142 //
   142 //
   143 TInt CPBAPplugin::Disconnect( const TBTDevAddr& aAddr, TBTDisconnectType /*aDiscType*/ )
   143 TInt CPBAPplugin::Disconnect( const TBTDevAddr& aAddr, TBTDisconnectType /*aDiscType*/ )
   144     {   
   144     {   
   145     if ( iObserver )   
   145     if ( !iObserver )   
   146         {
   146         {
   147         return KErrGeneral;    
   147         return KErrGeneral;    
   148         }
   148         }
   149     iAddr = aAddr;
   149     iAddr = aAddr;
   150     return iDisconnectHelper->Activate();
   150     return iDisconnectHelper->Activate();