equal
deleted
inserted
replaced
907 TInt ret = KErrNone; |
907 TInt ret = KErrNone; |
908 |
908 |
909 // now we kick TCs into life |
909 // now we kick TCs into life |
910 if (aResult) |
910 if (aResult) |
911 { |
911 { |
912 // can return to Idle, user could try this operation again |
912 // late reply or connection problem, abort |
913 // the way Open works means we have transport sessions interested in result of this |
913 |
914 // they need to tell their sockets that their connects failed |
914 CSignallingChannel* sigch = aStream.iProtocol.FindSignallingChannel(aStream.iRemoteAddress.BTAddr()); |
915 |
915 // should always have sigch here |
916 ChangeState(aStream, CAVStreamStateFactory::EStreamStateIdle); |
916 __ASSERT_DEBUG(sigch, PanicInState(EAvdtpSignallingChannelShouldExist)); |
917 |
917 if (sigch) |
918 // no need to tell signalling session as Opening is not available to RGavdp |
918 { |
|
919 sigch->SendAbort(aStream, aStream.RemoteSEID()); |
|
920 } |
|
921 |
|
922 // no need to tell signalling session as Opening is not available to RGavdp |
919 // Opening is performed when the necessary sockets are created and connected in a stream |
923 // Opening is performed when the necessary sockets are created and connected in a stream |
920 aStream.NotifyUserPlaneTransportSessionsError(NULL, aResult); |
924 aStream.NotifyUserPlaneTransportSessionsError(NULL, aResult); |
921 } |
925 } |
922 else |
926 else |
923 { |
927 { |