connectionutilities/ConnectionDialogs/ConnectionUiUtilities/NotifSrc/WlanNetworkDataProvider.cpp
--- a/connectionutilities/ConnectionDialogs/ConnectionUiUtilities/NotifSrc/WlanNetworkDataProvider.cpp Thu Jun 10 16:00:16 2010 +0300
+++ b/connectionutilities/ConnectionDialogs/ConnectionUiUtilities/NotifSrc/WlanNetworkDataProvider.cpp Thu Jun 24 11:36:05 2010 +0300
@@ -64,7 +64,12 @@
// ---------------------------------------------------------
//
CWlanNetworkDataProvider::CWlanNetworkDataProvider()
-: CBase()
+: CBase(),
+#ifndef __WINS__
+ iWlanMgmt( NULL ),
+ iScanInfo( NULL ),
+#endif // !__WINS__
+ iNetworkInfoArray( NULL )
{
}
@@ -85,7 +90,7 @@
}
delete iWlanMgmt;
delete iScanInfo;
-#endif
+#endif // !__WINS__
CLOG_LEAVEFN( "CWlanNetworkDataProvider::~CWlanNetworkDataProvider" );
}
@@ -277,7 +282,7 @@
TWlanConnectionExtentedSecurityMode aExtSecurityMode,
TBool aProtectedSetupSupported )
{
- TBuf<KWlanMaxSsidLength> networkName16;
+ TName networkName16;
networkName16.Copy( aNetworkName );
TInt index = iNetworkInfoArray->GetArrayIndex( networkName16 );