wlan_bearer/wlanengine/wlan_symbian/wlanengine_symbian_3.1/src/wlanconversionutil.cpp
branchRCL_3
changeset 17 a828660c511c
parent 16 5fb7af913dfd
child 18 d3d7683d16f5
--- a/wlan_bearer/wlanengine/wlan_symbian/wlanengine_symbian_3.1/src/wlanconversionutil.cpp	Thu Aug 19 11:40:48 2010 +0300
+++ b/wlan_bearer/wlanengine/wlan_symbian/wlanengine_symbian_3.1/src/wlanconversionutil.cpp	Tue Aug 31 17:02:06 2010 +0300
@@ -16,7 +16,7 @@
 */
 
 /*
-* %version: 86.1.2 %
+* %version: 89 %
 */
 
 #include <in_sock.h>
@@ -104,6 +104,21 @@
     }
 
 // ---------------------------------------------------------
+// TWlanConversionUtil::ConvertWpaPreSharedKey()
+// ---------------------------------------------------------
+//
+void TWlanConversionUtil::ConvertWpaPreSharedKey(
+    core_wpa_preshared_key_s& aWpaPreSharedKey,
+    const TDesC8& aWspPin )
+    {        
+    Mem::Copy(
+        aWpaPreSharedKey.key_data,
+        aWspPin.Ptr(),
+        aWspPin.Length() );
+    aWpaPreSharedKey.key_length = aWspPin.Length();
+    }
+
+// ---------------------------------------------------------
 // TWlanConversionUtil::ConvertScanRate()
 // ---------------------------------------------------------
 //