summaryrefslogtreecommitdiffstats
path: root/src/bluetooth/qbluetoothlocaldevice_qnx.cpp
diff options
context:
space:
mode:
authorFabian Bumberger <fbumberger@rim.com>2012-11-30 14:13:55 +0100
committerAlex <ablasche@gmail.com>2012-12-06 22:39:49 +0100
commite24fd50cec0d90b818e8a03bb94027a8ff6ff46c (patch)
tree900f1d4a83432dd781aa8226f94330a42d62d643 /src/bluetooth/qbluetoothlocaldevice_qnx.cpp
parenta7a780c947a30bd26b8be09c884ea7c3ad6305cb (diff)
QNX fix for bug when setting host mode
Change-Id: I1acffa846843956fbe826c69308d19c1327419ec Reviewed-by: Alex <ablasche@gmail.com>
Diffstat (limited to 'src/bluetooth/qbluetoothlocaldevice_qnx.cpp')
-rw-r--r--src/bluetooth/qbluetoothlocaldevice_qnx.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/bluetooth/qbluetoothlocaldevice_qnx.cpp b/src/bluetooth/qbluetoothlocaldevice_qnx.cpp
index 3652d8e0..59fce7e1 100644
--- a/src/bluetooth/qbluetoothlocaldevice_qnx.cpp
+++ b/src/bluetooth/qbluetoothlocaldevice_qnx.cpp
@@ -184,11 +184,12 @@ QBluetoothLocalDevice::HostMode QBluetoothLocalDevicePrivate::hostMode() const
void QBluetoothLocalDevicePrivate::setAccess(int access)
{
- ppsSendControlMessage("set_access", QStringLiteral("\"access\":n:%1").arg(access), this);
+ ppsSendControlMessage("set_access", QStringLiteral("{\"access\":%1}").arg(access), this);
}
void QBluetoothLocalDevicePrivate::controlReply(ppsResult result)
{
+ qBBBluetoothDebug() << "Ldef reply" << result.msg << result.dat;
if (!result.errorMsg.isEmpty()) {
qWarning() << Q_FUNC_INFO << result.errorMsg;
q_ptr->error(QBluetoothLocalDevice::UnknownError);