Diff between 1b609bec8e4d6d93dd9d13c5b424f953d33a2f97 and f4baf99a5e974a486a21fc5a8ab4a1aafd0691a2

Changed Files

File Additions Deletions Status
unit/test-gobex.c +2 -2 modified

Full Patch

diff --git a/unit/test-gobex.c b/unit/test-gobex.c
index dbe1836..78d1df5 100644
--- a/unit/test-gobex.c
+++ b/unit/test-gobex.c
@@ -37,7 +37,7 @@ static GMainLoop *mainloop = NULL;
 
 static uint8_t pkt_connect_req[] = { G_OBEX_OP_CONNECT | FINAL_BIT,
 					0x00, 0x07, 0x10, 0x00, 0x10, 0x00 };
-static uint8_t pkt_connect_rsp[] = { 0x10 | FINAL_BIT, 0x00, 0x07,
+static uint8_t pkt_connect_rsp[] = { 0x20 | FINAL_BIT, 0x00, 0x07,
 					0x10, 0x00, 0x10, 0x00 };
 
 static uint8_t pkt_setpath_req[] = { G_OBEX_OP_SETPATH | FINAL_BIT, 0x00, 0x10,
@@ -82,7 +82,7 @@ static void connect_rsp(GObex *obex, GError *err, GObexPacket *rsp,
 	}
 
 	rsp_code = g_obex_packet_get_operation(rsp, &final);
-	if (rsp_code != 0x10) {
+	if (rsp_code != 0x20) {
 		g_set_error(test_err, TEST_ERROR, TEST_ERROR_UNEXPECTED,
 				"Unexpected response 0x%02x", rsp_code);
 		goto done;