--- a/linklayerprotocols/pppnif/SPPP/pppscpr.cpp Mon Jun 21 17:25:18 2010 +0300
+++ b/linklayerprotocols/pppnif/SPPP/pppscpr.cpp Thu Jul 15 20:25:02 2010 +0300
@@ -38,12 +38,6 @@
_LIT8(KPppSCprSubTag, "pppscpr");
#endif
-//We reserve space for two preallocated activities that may start concurrently on the SCPR
-//node: destroy and data client stop.
-static const TUint KDefaultMaxPreallocatedActivityCount = 2;
-static const TUint KMaxPreallocatedActivitySize = sizeof(MeshMachine::CNodeRetryParallelActivity) + sizeof(MeshMachine::APreallocatedOriginators<4>);
-static const TUint KPPPSCPRPreallocatedActivityBufferSize = KDefaultMaxPreallocatedActivityCount * KMaxPreallocatedActivitySize;
-
namespace PppSCprStates
{
@@ -101,7 +95,7 @@
{
CPppSubConnectionProvider* self = new (ELeave) CPppSubConnectionProvider(aFactory, PppSCprActivities::pppSCprActivities::Self());
CleanupStack::PushL(self);
- self->ConstructL(KPPPSCPRPreallocatedActivityBufferSize);
+ self->ConstructL();
CleanupStack::Pop();
return self;
}