diff -r 0b192a3a05a4 -r 00f9ee97d895 bluetoothengine/bteng/src/btengsrvpluginmgr.cpp --- 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);