diff -r 269724087bed -r 1934667b0e2b bluetoothengine/btmac/src/btmac/btmsyncsock.cpp --- a/bluetoothengine/btmac/src/btmac/btmsyncsock.cpp Tue Sep 14 21:37:10 2010 +0300 +++ b/bluetoothengine/btmac/src/btmac/btmsyncsock.cpp Wed Sep 15 12:23:51 2010 +0300 @@ -1,5 +1,5 @@ /* -* Copyright (c) 2005-2006 Nokia Corporation and/or its subsidiary(-ies). +* Copyright (c) 2005-2010 Nokia Corporation and/or its subsidiary(-ies). * All rights reserved. * This component and the accompanying materials are made available * under the terms of "Eclipse Public License v1.0" @@ -70,7 +70,7 @@ TRACE_FUNC_ENTRY iScoAcceptor = TScoAcceptor(this); iSco->SetNotifier(iScoAcceptor); - iSco->AcceptConnection(TBTSyncPackets(KScoPacketTypeSpec)); + User::LeaveIfError(iSco->AcceptConnection(TBTSyncPackets(KScoPacketTypeSpec))); if (aAllowEsco) { iESco_Acceptor = TScoAcceptor(this);