summaryrefslogtreecommitdiffstats
path: root/net/bluetooth/hci_core.c
diff options
context:
space:
mode:
authorMarcel Holtmann2014-02-24 05:39:23 +0100
committerJohan Hedberg2014-02-24 07:50:06 +0100
commit473deef2c9e99c548c04c58856bdf1e271806079 (patch)
tree81abb2d779c9b7f9fe25f0f86f7826c2baa83e89 /net/bluetooth/hci_core.c
parentBluetooth: Store current RPA and update it if needed (diff)
downloadkernel-qcow2-linux-473deef2c9e99c548c04c58856bdf1e271806079.tar.gz
kernel-qcow2-linux-473deef2c9e99c548c04c58856bdf1e271806079.tar.xz
kernel-qcow2-linux-473deef2c9e99c548c04c58856bdf1e271806079.zip
Bluetooth: Export current local RPA with identity information
The identity information in debugfs currently do not include the current in use local RPA. Since the RPA is now stored in the controller information, include it in the debugfs as well. Signed-off-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Diffstat (limited to 'net/bluetooth/hci_core.c')
-rw-r--r--net/bluetooth/hci_core.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/bluetooth/hci_core.c b/net/bluetooth/hci_core.c
index 9f1c3d7d1d74..4bb4f4e7bbbe 100644
--- a/net/bluetooth/hci_core.c
+++ b/net/bluetooth/hci_core.c
@@ -596,7 +596,8 @@ static int identity_show(struct seq_file *f, void *p)
addr_type = ADDR_LE_DEV_PUBLIC;
}
- seq_printf(f, "%pMR (type %u) %*phN\n", addr, addr_type, 16, hdev->irk);
+ seq_printf(f, "%pMR (type %u) %*phN %pMR\n", addr, addr_type,
+ 16, hdev->irk, &hdev->rpa);
hci_dev_unlock(hdev);