connectionutilities/ConnectionDialogs/ConnectionUiUtilities/NotifSrc/WlanNetworkDataProvider.cpp
branchRCL_3
changeset 58 83ca720e2b9a
parent 57 05bc53fe583b
--- a/connectionutilities/ConnectionDialogs/ConnectionUiUtilities/NotifSrc/WlanNetworkDataProvider.cpp	Tue Aug 31 15:35:44 2010 +0300
+++ b/connectionutilities/ConnectionDialogs/ConnectionUiUtilities/NotifSrc/WlanNetworkDataProvider.cpp	Wed Sep 01 12:23:51 2010 +0100
@@ -64,12 +64,7 @@
 // ---------------------------------------------------------
 //
 CWlanNetworkDataProvider::CWlanNetworkDataProvider() 
-: CBase(),
-#ifndef __WINS__
-  iWlanMgmt( NULL ),
-  iScanInfo( NULL ),
-#endif // !__WINS__
-  iNetworkInfoArray( NULL )
+: CBase()
     {
     }
 
@@ -90,7 +85,7 @@
         }
     delete iWlanMgmt;
     delete iScanInfo;
-#endif // !__WINS__
+#endif
 
     CLOG_LEAVEFN( "CWlanNetworkDataProvider::~CWlanNetworkDataProvider" );
     }
@@ -282,7 +277,7 @@
                                    TWlanConnectionExtentedSecurityMode aExtSecurityMode,
                                    TBool aProtectedSetupSupported )
     {
-    TName networkName16;
+    TBuf<KWlanMaxSsidLength> networkName16;
     networkName16.Copy( aNetworkName );
     TInt index = iNetworkInfoArray->GetArrayIndex( networkName16 );