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:
b6d3089
)
tools/smp-tester: Fix pairing random PDU content
author
Johan Hedberg
<johan.hedberg@intel.com>
Thu, 28 Nov 2013 14:35:59 +0000
(16:35 +0200)
committer
Johan Hedberg
<johan.hedberg@intel.com>
Thu, 28 Nov 2013 14:36:36 +0000
(16:36 +0200)
tools/smp-tester.c
patch
|
blob
|
history
diff --git
a/tools/smp-tester.c
b/tools/smp-tester.c
index
c751391
..
cf764f0
100644
(file)
--- a/
tools/smp-tester.c
+++ b/
tools/smp-tester.c
@@
-607,12
+607,7
@@
static const void *get_pdu(const uint8_t *data)
return buf;
case 0x04: /* Pairing Random */
buf[0] = data[0];
-
- if (test_data->out)
- swap128(test_data->smp_prnd, &buf[1]);
- else
- smp_c1(test_data->smp_rrnd, &buf[1]);
-
+ swap128(test_data->smp_prnd, &buf[1]);
return buf;
default:
break;