--- 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();
}
}