wlan_bearer/wlanengine/wlan_symbian/wlanengine_symbian_3.1/src/wlanconversionutil.cpp
changeset 36 1c425781161e
parent 17 41a8eba36f74
child 32 c01ef7f246fd
--- a/wlan_bearer/wlanengine/wlan_symbian/wlanengine_symbian_3.1/src/wlanconversionutil.cpp	Wed Jun 23 20:17:42 2010 +0300
+++ b/wlan_bearer/wlanengine/wlan_symbian/wlanengine_symbian_3.1/src/wlanconversionutil.cpp	Tue Jul 06 16:24:00 2010 +0300
@@ -16,7 +16,7 @@
 */
 
 /*
-* %version: 86 %
+* %version: 87 %
 */
 
 #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()
 // ---------------------------------------------------------
 //