diff -r 43658d24f35d -r df4dfb214df5 sipvoipprovider/src/svpcontroller.cpp --- 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 // CWlanMgmtClient #include +#include #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" )