aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@intel.com>2012-03-02 15:34:34 -0800
committerJohan Hedberg <johan.hedberg@intel.com>2012-03-02 15:34:34 -0800
commitadf57752a2cc5800f58de9571c2bffbfbd4a3b19 (patch)
treedf58d384f7629052a9c608c3686f1e1b61d0adc2 /plugins
parent097f46d93dab8336a9c70e1f12a12aa8c97cc2db (diff)
downloadbluez-adf57752a2cc5800f58de9571c2bffbfbd4a3b19.tar.gz
bluez-adf57752a2cc5800f58de9571c2bffbfbd4a3b19.tar.xz
bluez-adf57752a2cc5800f58de9571c2bffbfbd4a3b19.zip
mgmtops: Use proper boolean value for mgmt_set_powered call
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mgmtops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mgmtops.c b/plugins/mgmtops.c
index 975f17eb..dd5f7a38 100644
--- a/plugins/mgmtops.c
+++ b/plugins/mgmtops.c
@@ -1290,7 +1290,7 @@ static void mgmt_add_uuid_complete(int sk, uint16_t index, void *buf,
if (info->pending_powered) {
info->pending_powered = FALSE;
- mgmt_set_powered(index, 1);
+ mgmt_set_powered(index, TRUE);
}
return;