linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Tedd Ho-Jeong An <tedd.an@linux.intel.com>
To: linux-bluetooth@vger.kernel.org
Cc: Tedd Ho Jeong An <tedd.an@intel.com>
Subject: [PATCH BlueZ 2/2] tester: Enable LE Generate DHKey Complete event
Date: Tue,  6 Feb 2018 13:03:57 -0800	[thread overview]
Message-ID: <1517951037-2970-2-git-send-email-tedd.an@linux.intel.com> (raw)
In-Reply-To: <1517951037-2970-1-git-send-email-tedd.an@linux.intel.com>

From: Tedd Ho Jeong An <tedd.an@intel.com>

This patch adds LE Generate DHKey Complete event for
LE Event Mask list for 'LE Generate DHKey'.
---
 tools/hci-tester.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tools/hci-tester.c b/tools/hci-tester.c
index 1e9ce4e..7873e7a 100644
--- 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);
-- 
2.7.4


  reply	other threads:[~2018-02-06 21:03 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-06 21:03 [PATCH BlueZ 1/2] tester: Set event mask for LE Read Local P-256 PK Complete event Tedd Ho-Jeong An
2018-02-06 21:03 ` Tedd Ho-Jeong An [this message]
2018-02-07  8:38 ` Marcel Holtmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1517951037-2970-2-git-send-email-tedd.an@linux.intel.com \
    --to=tedd.an@linux.intel.com \
    --cc=linux-bluetooth@vger.kernel.org \
    --cc=tedd.an@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).