Diff between 097f46d93dab8336a9c70e1f12a12aa8c97cc2db and adf57752a2cc5800f58de9571c2bffbfbd4a3b19

Changed Files

File Additions Deletions Status
plugins/mgmtops.c +1 -1 modified

Full Patch

diff --git a/plugins/mgmtops.c b/plugins/mgmtops.c
index 975f17e..dd5f7a3 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;