browserui/browser/BrowserAppSrc/BrowserPreferences.cpp
changeset 15 e45c3f40ea5f
parent 10 57d5b8e231c4
child 18 4530440261a8
--- a/browserui/browser/BrowserAppSrc/BrowserPreferences.cpp	Fri May 08 08:18:43 2009 +0300
+++ b/browserui/browser/BrowserAppSrc/BrowserPreferences.cpp	Fri Jul 03 15:46:41 2009 +0100
@@ -803,6 +803,11 @@
   	        CApListItem* apItem = iCommsModel.AccessPointsL()->ItemForUid( aDefaultAccessPoint );
 	        if (apItem == NULL)
 		        {
+                if( iVpnEngine->IsVpnApL( aDefaultAccessPoint ) )
+                {
+                  BROWSER_LOG( ( _L( " This is VPN AP which has a snap in it" ) ) );
+                  break;
+                } 
     	    	aDefaultAccessPoint = KWmlNoDefaultAccessPoint;
     	    	aAssocVpn = KWmlNoDefaultAccessPoint;
     	    	delete iAllPreferences.iDefaultAPDetails;