Diff between ee0c0702f64095467c12d5eb6ba0e702a2ed9cd1 and 82ab825b5c62fe0dfd7521244ff40baa47352268

Changed Files

File Additions Deletions Status
src/shared/mgmt.c +2 -2 modified

Full Patch

diff --git a/src/shared/mgmt.c b/src/shared/mgmt.c
index c9dda39..0ead788 100644
--- a/src/shared/mgmt.c
+++ b/src/shared/mgmt.c
@@ -164,7 +164,7 @@ static gboolean can_write_data(GIOChannel *channel, GIOCondition cond,
 				"[0x%04x] command 0x%04x",
 				request->index, request->opcode);
 
-	util_hexdump('>', request->buf, bytes_written,
+	util_hexdump('<', request->buf, bytes_written,
 				mgmt->debug_callback, mgmt->debug_data);
 
 	mgmt->pending_list = g_list_append(mgmt->pending_list, request);
@@ -283,7 +283,7 @@ static gboolean received_data(GIOChannel *channel, GIOCondition cond,
 	if (bytes_read < 0)
 		return TRUE;
 
-	util_hexdump('<', mgmt->buf, bytes_read,
+	util_hexdump('>', mgmt->buf, bytes_read,
 				mgmt->debug_callback, mgmt->debug_data);
 
 	if (bytes_read < MGMT_HDR_SIZE)