summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2006-09-24 12:43:54 +0000
committerMarcel Holtmann <marcel@holtmann.org>2006-09-24 12:43:54 +0000
commit9ec342ce2d928d2d58777cc7b9d3d0969fc3b208 (patch)
tree517de0bbc949b40d7af51b1cb75fd1d0bdb87e77
parent329237dde23a9f692590f0075340ea085f8f3b35 (diff)
Don't use ident 0 for information request
-rw-r--r--test/l2test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/l2test.c b/test/l2test.c
index 42d66adf..f152fb8e 100644
--- a/test/l2test.c
+++ b/test/l2test.c
@@ -714,7 +714,7 @@ static void info_request(char *svr)
memset(buf, 0, sizeof(buf));
cmd->code = L2CAP_INFO_REQ;
- cmd->ident = 0;
+ cmd->ident = 42;
cmd->len = htobs(2);
req->type = htobs(0x0001);
@@ -741,7 +741,7 @@ static void info_request(char *svr)
memset(buf, 0, sizeof(buf));
cmd->code = L2CAP_INFO_REQ;
- cmd->ident = 0;
+ cmd->ident = 42;
cmd->len = htobs(2);
req->type = htobs(0x0002);