--- a/sipvoipprovider/src/svpcontroller.cpp Tue May 25 12:31:20 2010 +0300
+++ b/sipvoipprovider/src/svpcontroller.cpp Wed Jun 09 09:31:04 2010 +0300
@@ -33,6 +33,7 @@
#include <wlantrafficstreamparameters.h> // CWlanMgmtClient
#include <ccpdefs.h>
+#include <featdiscovery.h>
#include "svpcontroller.h"
#include "svpmosession.h"
@@ -72,8 +73,12 @@
iSuppServices = CSVPSupplementaryServices::NewL();
iSVPUtility = CSVPUtility::NewL();
iRtpObserver = CSVPRtpObserver::NewL();
+ TBool wlanSupported = CFeatureDiscovery::IsFeatureSupportedL( KFeatureIdProtocolWlan );
#ifndef __WINS__
- iWlanMgmt = CWlanMgmtClient::NewL();
+ if ( wlanSupported )
+ {
+ iWlanMgmt = CWlanMgmtClient::NewL();
+ }
#endif // __WINS__
SVPDEBUG1( "CSVPController::ConstructL Out" )