bluetooth/btstack/linkmgr/ACLSAP.cpp
branchRCL_3
changeset 23 32ba20339036
parent 22 9f17f914e828
child 26 1f10b9300be6
--- a/bluetooth/btstack/linkmgr/ACLSAP.cpp	Tue May 11 17:15:36 2010 +0300
+++ b/bluetooth/btstack/linkmgr/ACLSAP.cpp	Tue May 25 13:54:55 2010 +0300
@@ -1089,13 +1089,7 @@
 		CPhysicalLink* physicalLink = &iLinksMan.NewPhysicalLinkL(iRemoteDev);
 		// physicalLink is owned by the physical links manager.
 		User::LeaveIfError(BindLink(EACLLink, *physicalLink));
-		TInt err = iPhysicalLink->Connect();
-		if(err != KErrNone)
-			{
-			// If we failed to connect then we should roll back the attachment
-			ClearPhysicalLink();
-			User::Leave(err);
-			}
+		iPhysicalLink->Connect();
 		}
 	}