bluetoothengine/btsac/src/btsacStateConnected.cpp
changeset 52 4545c04e61e1
parent 1 6a1fe72036e3
--- a/bluetoothengine/btsac/src/btsacStateConnected.cpp	Tue Jul 06 14:27:09 2010 +0300
+++ b/bluetoothengine/btsac/src/btsacStateConnected.cpp	Wed Aug 18 09:59:05 2010 +0300
@@ -1,5 +1,5 @@
 /*
-* Copyright (c) 2002-2005 Nokia Corporation and/or its subsidiary(-ies).
+* Copyright (c) 2002-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"
@@ -184,7 +184,7 @@
     TRACE_FUNC
     StopTimer();
 	Parent().CompletePendingRequests((KConnectReq | KOpenAudioReq), aError);
-	Parent().ChangeStateL(CBtsacListening::NewL(Parent(), EGavdpResetReasonGeneral, aError));
+	Parent().ChangeStateL(CBtsacListening::NewL(Parent(), EResetGavdp, aError));
     }
 
 // -----------------------------------------------------------------------------
@@ -552,7 +552,7 @@
 		TRACE_INFO((_L("[SOCKET] created.")))
 		Parent().iStreamingSockets.Append(aNewSocket);
 		Parent().CompletePendingRequests(KCompleteAllReqs, KErrCancel);
-		TRAP_IGNORE(Parent().ChangeStateL(CBtsacListening::NewL(Parent(), EGavdpResetReasonGeneral, KErrNone)));
+		TRAP_IGNORE(Parent().ChangeStateL(CBtsacListening::NewL(Parent(), EResetGavdp, KErrNone)));
 		}
 	}