Linux bluetooth development
 help / color / mirror / Atom feed
* [PATCH] Bluetooth: Export signature resolving key in debugfs
@ 2014-03-09  7:32 Marcel Holtmann
  0 siblings, 0 replies; only message in thread
From: Marcel Holtmann @ 2014-03-09  7:32 UTC (permalink / raw)
  To: linux-bluetooth

Include the current connection signature resolving key (CSRK) as part
of the identity debugfs information.

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
---
 net/bluetooth/hci_core.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net/bluetooth/hci_core.c b/net/bluetooth/hci_core.c
index 8bbfdea9cbec..1b2935c61b49 100644
--- a/net/bluetooth/hci_core.c
+++ b/net/bluetooth/hci_core.c
@@ -589,8 +589,8 @@ static int identity_show(struct seq_file *f, void *p)
 
 	hci_copy_identity_address(hdev, &addr, &addr_type);
 
-	seq_printf(f, "%pMR (type %u) %*phN %pMR\n", &addr, addr_type,
-		   16, hdev->irk, &hdev->rpa);
+	seq_printf(f, "%pMR (type %u) %*phN %pMR %*phN\n", &addr, addr_type,
+		   16, hdev->irk, &hdev->rpa, 16, hdev->csrk);
 
 	hci_dev_unlock(hdev);
 
-- 
1.8.5.3


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2014-03-09  7:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-09  7:32 [PATCH] Bluetooth: Export signature resolving key in debugfs Marcel Holtmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox