gssettingsuis/Gs/GSPDataHSDPAPlugin/src/GSPDataHSDPAPlugin.cpp
branchRCL_3
changeset 20 9941bcf99348
parent 0 8c5d936e5675
child 25 3b47783fdf16
--- a/gssettingsuis/Gs/GSPDataHSDPAPlugin/src/GSPDataHSDPAPlugin.cpp	Wed Apr 14 16:15:29 2010 +0300
+++ b/gssettingsuis/Gs/GSPDataHSDPAPlugin/src/GSPDataHSDPAPlugin.cpp	Tue Apr 27 16:56:32 2010 +0300
@@ -460,9 +460,8 @@
 	
 	if( iProfileEngine->ActiveProfileId() != EProfileOffLineId )
 		{	
-		User::LeaveIfError( rSession.Connect() );		
-		rSession.SetState( RStarterSession::EOffline );
-		rSession.SetState( RStarterSession::ENormal );
+		User::LeaveIfError( rSession.Connect() );	
+		rSession.ResetNetwork();
 		rSession.Close();
 		}