equal
deleted
inserted
replaced
148 ASSERT(iContext.iNodeActivity); |
148 ASSERT(iContext.iNodeActivity); |
149 |
149 |
150 // stop has been caused by timer expiry, remove self from originators list, because we |
150 // stop has been caused by timer expiry, remove self from originators list, because we |
151 // are not waiting for TStopped and in certain situations it would arrive after the node has been |
151 // are not waiting for TStopped and in certain situations it would arrive after the node has been |
152 // destroyed |
152 // destroyed |
153 if (iContext.Node().iTimerExpired) |
153 if (iContext.Node().iTimerStopped) |
154 { |
154 { |
155 TInt selfidx = iContext.iNodeActivity->FindOriginator(iContext.Node().SelfInterface()); |
155 TInt selfidx = iContext.iNodeActivity->FindOriginator(iContext.Node().SelfInterface()); |
156 ASSERT(selfidx != KErrNotFound); |
156 ASSERT(selfidx != KErrNotFound); |
157 iContext.iNodeActivity->RemoveOriginator(selfidx); |
157 iContext.iNodeActivity->RemoveOriginator(selfidx); |
158 } |
158 } |
376 //Set the idle timers |
376 //Set the idle timers |
377 iContext.Node().EnableTimers(); |
377 iContext.Node().EnableTimers(); |
378 iContext.Node().SetUsageProfile(KConnProfileMedium); |
378 iContext.Node().SetUsageProfile(KConnProfileMedium); |
379 iContext.Node().SetTimerMode(CIPProtoConnectionProvider::ETimerMedium); |
379 iContext.Node().SetTimerMode(CIPProtoConnectionProvider::ETimerMedium); |
380 |
380 |
|
381 iContext.Node().iTimerStopped = EFalse; |
381 CoreNetStates::TSendStarted transition(iContext); |
382 CoreNetStates::TSendStarted transition(iContext); |
382 transition.DoL(); |
383 transition.DoL(); |
383 } |
384 } |
384 |
385 |
385 DEFINE_SMELEMENT(IpProtoCpr::TProcessDataClientStatusChange, NetStateMachine::MStateTransition, IpProtoCpr::TContext) |
386 DEFINE_SMELEMENT(IpProtoCpr::TProcessDataClientStatusChange, NetStateMachine::MStateTransition, IpProtoCpr::TContext) |