165 TraceDump(WARNING_LEVEL,(_L("CWlanSettings::GetDataL() - aSettings.WepIndex: %d"), |
165 TraceDump(WARNING_LEVEL,(_L("CWlanSettings::GetDataL() - aSettings.WepIndex: %d"), |
166 aSettings.WepIndex)); |
166 aSettings.WepIndex)); |
167 ReadWepKeysL(aSettings); |
167 ReadWepKeysL(aSettings); |
168 TraceDump(WARNING_LEVEL,(_L("CWlanSettings::GetDataL, Wep keys succesfully read"))); |
168 TraceDump(WARNING_LEVEL,(_L("CWlanSettings::GetDataL, Wep keys succesfully read"))); |
169 } |
169 } |
170 else if( aSettings.SecurityMode > Wep) |
170 else if( aSettings.SecurityMode == Wlan8021x ) |
|
171 { |
|
172 aSettings.WPAKeyLength = *((CMDBField<TUint32>*)iWLANRecord->GetFieldByIdL(KCDTIdWlanWpaKeyLength)); |
|
173 TraceDump(WARNING_LEVEL,(_L("CWlanSettings::GetDataL() - aSettings.WPAKeyLength: %d"), |
|
174 aSettings.WPAKeyLength)); |
|
175 } |
|
176 else if( aSettings.SecurityMode > Wlan8021x ) |
171 { |
177 { |
172 aSettings.WPAKeyLength = *((CMDBField<TUint32>*)iWLANRecord->GetFieldByIdL(KCDTIdWlanWpaKeyLength)); |
178 aSettings.WPAKeyLength = *((CMDBField<TUint32>*)iWLANRecord->GetFieldByIdL(KCDTIdWlanWpaKeyLength)); |
173 TraceDump(WARNING_LEVEL,(_L("CWlanSettings::GetDataL() - aSettings.WPAKeyLength: %d"), |
179 TraceDump(WARNING_LEVEL,(_L("CWlanSettings::GetDataL() - aSettings.WPAKeyLength: %d"), |
174 aSettings.WPAKeyLength)); |
180 aSettings.WPAKeyLength)); |
175 aSettings.EnableWpaPsk = *((CMDBField<TUint32>*)iWLANRecord->GetFieldByIdL(KCDTIdWlanEnableWpaPsk)); |
181 aSettings.EnableWpaPsk = *((CMDBField<TUint32>*)iWLANRecord->GetFieldByIdL(KCDTIdWlanEnableWpaPsk)); |