OSDN Git Service

gobex: Fix OBEX version in connect packet
authorJohan Hedberg <johan.hedberg@intel.com>
Mon, 27 Jun 2011 08:17:48 +0000 (11:17 +0300)
committerMarcel Holtmann <marcel@holtmann.org>
Tue, 4 Dec 2012 21:21:56 +0000 (22:21 +0100)
unit/test-gobex.c

index ae830fc..12bc4b5 100644 (file)
@@ -33,7 +33,7 @@
 static GMainLoop *mainloop = NULL;
 
 static uint8_t pkt_connect_req[] = { G_OBEX_OP_CONNECT | FINAL_BIT,
-                                       0x00, 0x07, 0x01, 0x00, 0x10, 0x00 };
+                                       0x00, 0x07, 0x10, 0x00, 0x10, 0x00 };
 
 static uint8_t hdr_connid[] = { G_OBEX_HDR_ID_CONNECTION, 1, 2, 3, 4 };
 static uint8_t hdr_name_ascii[] = { G_OBEX_HDR_ID_NAME, 0x00, 0x0b,