diff -r c40eb8fe8501 -r 6524e815f76f wlan_bearer/wlanengine/wlan_symbian/wlanengine_symbian_3.1/src/wlanconversionutil.cpp --- a/wlan_bearer/wlanengine/wlan_symbian/wlanengine_symbian_3.1/src/wlanconversionutil.cpp Tue Feb 02 02:03:13 2010 +0200 +++ b/wlan_bearer/wlanengine/wlan_symbian/wlanengine_symbian_3.1/src/wlanconversionutil.cpp Sat Feb 20 00:38:18 2010 +0200 @@ -1,5 +1,5 @@ /* -* Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies). +* Copyright (c) 2005-2010 Nokia Corporation and/or its subsidiary(-ies). * All rights reserved. * This component and the accompanying materials are made available * under the terms of the License "Eclipse Public License v1.0" @@ -16,7 +16,7 @@ */ /* -* %version: 82 % +* %version: 83 % */ #include @@ -2025,3 +2025,19 @@ return 0; } } + +// --------------------------------------------------------- +// TWlanConversionUtil::ConvertCipherKey() +// --------------------------------------------------------- +// +void TWlanConversionUtil::ConvertCipherKey( + TPairwiseKeyData& aAmKey, + const core_cipher_key_s& aCoreKey ) + { + aAmKey.keyIndex = aCoreKey.key_index; + aAmKey.length = aCoreKey.key_length; + Mem::Copy( + &aAmKey.data[0], + &aCoreKey.key_data[0], + MAX_CIPHER_KEY_LENGTH ); + }