bluetoothengine/bteng/src/btengsrvpluginmgr.cpp
changeset 15 00f9ee97d895
parent 0 f63038272f30
child 16 b23265fb36da
--- a/bluetoothengine/bteng/src/btengsrvpluginmgr.cpp	Tue Feb 02 00:20:42 2010 +0200
+++ b/bluetoothengine/bteng/src/btengsrvpluginmgr.cpp	Fri Apr 16 15:08:36 2010 +0300
@@ -229,7 +229,7 @@
 	{
 	TRACE_FUNC_ENTRY
 	TBool want = EFalse;
-	switch ( iServer->EnterpriseEnablementMode() )
+	switch ( BluetoothFeatures::EnterpriseEnablementL() )
 		{
 	case BluetoothFeatures::EDisabled:
 		// In Disabled mode all plugins are filtered out.
@@ -322,7 +322,7 @@
     TRACE_FUNC_ENTRY
 
 	// SAP is supported in neither Data Profiles Disabled nor Disabled mode.
-    if ( iServer->EnterpriseEnablementMode() != BluetoothFeatures::EEnabled )
+    if ( BluetoothFeatures::EnterpriseEnablementL() != BluetoothFeatures::EEnabled )
         {
         TRACE_INFO( ( _L( "\tno we're not... Bluetooth is enterprise-IT-disabled" ) ) )
         User::Leave(KErrNotSupported);