--- a/bluetoothengine/bteng/bttoggle/src/bttoggle.cpp Tue Aug 31 15:25:10 2010 +0300
+++ b/bluetoothengine/bteng/bttoggle/src/bttoggle.cpp Wed Sep 01 12:20:04 2010 +0100
@@ -1,5 +1,5 @@
/*
-* Copyright (c) 2009-2010 Nokia Corporation and/or its subsidiary(-ies).
+* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
@@ -154,7 +154,7 @@
}
else //other than offline
{
- TBuf<KMaxBluetoothNameLen> localName;
+ TBuf<KHCILocalDeviceNameMaxLength> localName;
iSettings->GetLocalName(localName);
//There is no BT local name defined
@@ -360,8 +360,7 @@
//
TInt CBTToggle::RunError(TInt aError)
{
- TRACE_INFO((_L("[BTENG][BTTOGGLE] RunError %d"), aError ))
- (void) aError;
+ TRACE_INFO((_L("[BTENG][BTTOGGLE] RunError %d"), aError ))
iActiveNotifier = ENoneQuery;
CActiveScheduler::Stop();
return KErrNone;