# HG changeset patch # User hgs # Date 1277106383 -10800 # Node ID c6bf09e868a385b4e74f0fd6b3a7a44f78a4f36f # Parent 7d966ab5304ad6bf3698284d6992b83fc709ce0d 201025 diff -r 7d966ab5304a -r c6bf09e868a3 wlan_bearer/wlandbif_cd/src/wdbifwlansettings.cpp --- a/wlan_bearer/wlandbif_cd/src/wdbifwlansettings.cpp Fri Jun 18 09:56:50 2010 +0300 +++ b/wlan_bearer/wlandbif_cd/src/wdbifwlansettings.cpp Mon Jun 21 10:46:23 2010 +0300 @@ -16,7 +16,7 @@ */ /* -* %version: 12.1.1 % +* %version: 14 % */ // INCLUDE FILES @@ -167,7 +167,13 @@ ReadWepKeysL(aSettings); TraceDump(WARNING_LEVEL,(_L("CWlanSettings::GetDataL, Wep keys succesfully read"))); } - else if( aSettings.SecurityMode > Wep) + else if( aSettings.SecurityMode == Wlan8021x ) + { + aSettings.WPAKeyLength = *((CMDBField*)iWLANRecord->GetFieldByIdL(KCDTIdWlanWpaKeyLength)); + TraceDump(WARNING_LEVEL,(_L("CWlanSettings::GetDataL() - aSettings.WPAKeyLength: %d"), + aSettings.WPAKeyLength)); + } + else if( aSettings.SecurityMode > Wlan8021x ) { aSettings.WPAKeyLength = *((CMDBField*)iWLANRecord->GetFieldByIdL(KCDTIdWlanWpaKeyLength)); TraceDump(WARNING_LEVEL,(_L("CWlanSettings::GetDataL() - aSettings.WPAKeyLength: %d"),