equal
deleted
inserted
replaced
801 // if user-defined access point then check that access point still exists. |
801 // if user-defined access point then check that access point still exists. |
802 // if it doesn't, reset access point to always ask and homepage to blank access point home page. |
802 // if it doesn't, reset access point to always ask and homepage to blank access point home page. |
803 CApListItem* apItem = iCommsModel.AccessPointsL()->ItemForUid( aDefaultAccessPoint ); |
803 CApListItem* apItem = iCommsModel.AccessPointsL()->ItemForUid( aDefaultAccessPoint ); |
804 if (apItem == NULL) |
804 if (apItem == NULL) |
805 { |
805 { |
|
806 if( iVpnEngine->IsVpnApL( aDefaultAccessPoint ) ) |
|
807 { |
|
808 BROWSER_LOG( ( _L( " This is VPN AP which has a snap in it" ) ) ); |
|
809 break; |
|
810 } |
806 aDefaultAccessPoint = KWmlNoDefaultAccessPoint; |
811 aDefaultAccessPoint = KWmlNoDefaultAccessPoint; |
807 aAssocVpn = KWmlNoDefaultAccessPoint; |
812 aAssocVpn = KWmlNoDefaultAccessPoint; |
808 delete iAllPreferences.iDefaultAPDetails; |
813 delete iAllPreferences.iDefaultAPDetails; |
809 iAllPreferences.iDefaultAPDetails = NULL; |
814 iAllPreferences.iDefaultAPDetails = NULL; |
810 SetAccessPointSelectionModeL(EAlwaysAsk ); |
815 SetAccessPointSelectionModeL(EAlwaysAsk ); |