Diff between 17f5f61f6700b048ec58c6892e599ea031cc1ec0 and 9278cee741211c602678d007eae867c6bfebd6ea

Changed Files

File Additions Deletions Status
tools/btmgmt.c +1 -1 modified

Full Patch

diff --git a/tools/btmgmt.c b/tools/btmgmt.c
index 4650876..4c6665e 100644
--- a/tools/btmgmt.c
+++ b/tools/btmgmt.c
@@ -833,7 +833,7 @@ static unsigned int send_cmd(struct mgmt *mgmt, uint16_t op, uint16_t id,
 	if (send_id == 0)
 		g_free(data);
 
-	return id;
+	return send_id;
 }
 
 static void setting_rsp(uint16_t op, uint16_t id, uint8_t status, uint16_t len,