projects
/
platform
/
upstream
/
bluez.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b592b05
)
tester: Enable LE Generate DHKey Complete event
75/205075/1
author
Tedd Ho Jeong An
<tedd.an@intel.com>
Tue, 6 Feb 2018 21:03:57 +0000
(13:03 -0800)
committer
Amit Purwar
<amit.purwar@samsung.com>
Mon, 29 Apr 2019 04:20:52 +0000
(09:50 +0530)
This patch adds LE Generate DHKey Complete event for
LE Event Mask list for 'LE Generate DHKey'.
Change-Id: Ic64ec00ef582f1d145d46eba2441e5fdb014a62d
Signed-off-by: Amit Purwar <amit.purwar@samsung.com>
tools/hci-tester.c
patch
|
blob
|
history
diff --git
a/tools/hci-tester.c
b/tools/hci-tester.c
index
1e9ce4e
..
7873e7a
100755
(executable)
--- a/
tools/hci-tester.c
+++ b/
tools/hci-tester.c
@@
-550,6
+550,7
@@
static void setup_le_generate_dhkey(const void *test_data)
memset(lsem.mask, 0, 8);
lsem.mask[0] |= 0x80; /* LE Read Local P-256 Public Key Complete */
+ lsem.mask[1] |= 0x01; /* LE Generate DHKey Complete */
bt_hci_send(user->hci_ut, BT_HCI_CMD_LE_SET_EVENT_MASK,
&lsem, sizeof(lsem), NULL, NULL, NULL);