diff -r ad1f037f1ac2 -r c98682f98478 eapol/eapol_framework/eapol_symbian/am/type/mschapv2/symbian/plugin/src/EapMsChapV2.cpp --- a/eapol/eapol_framework/eapol_symbian/am/type/mschapv2/symbian/plugin/src/EapMsChapV2.cpp Thu Jun 24 11:23:08 2010 +0300 +++ b/eapol/eapol_framework/eapol_symbian/am/type/mschapv2/symbian/plugin/src/EapMsChapV2.cpp Fri Jul 09 10:14:51 2010 +0300 @@ -16,7 +16,7 @@ */ /* -* %version: 30 % +* %version: 31 % */ // This is enumeration of EAPOL source code. @@ -329,6 +329,16 @@ iIndexType, iIndex, iTunnelingType); + + // Plain-MsChapv2 and EAP-MsChapv2 uses the same database. + // Here we set the correct authentication method to read settings. + error = CEapConversion::ConvertInternalTypeToExpandedEAPType( + &iEapType, + &aSettings.iEAPExpandedType); + if (error != KErrNone) + { + User::Leave(error); + } db.Close(); session.Close();