OSDN Git Service
(root)
/
android-x86
/
external-bluetooth-bluez.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1faed0b
)
tools/l2cap-tester: Fix passing correct psm to create_l2cap_sock()
author
Johan Hedberg
<johan.hedberg@intel.com>
Tue, 24 Sep 2013 12:52:07 +0000
(15:52 +0300)
committer
Johan Hedberg
<johan.hedberg@intel.com>
Thu, 3 Oct 2013 11:27:34 +0000
(14:27 +0300)
tools/l2cap-tester.c
patch
|
blob
|
history
diff --git
a/tools/l2cap-tester.c
b/tools/l2cap-tester.c
index
2661633
..
3253275
100644
(file)
--- a/
tools/l2cap-tester.c
+++ b/
tools/l2cap-tester.c
@@
-660,7
+660,7
@@
static void test_bredr_server(const void *test_data)
int sk;
if (l2data->server_psm) {
- sk = create_l2cap_sock(data,
0x0001
);
+ sk = create_l2cap_sock(data,
l2data->server_psm
);
if (sk < 0) {
tester_test_failed();
return;