提交 473deef2 编写于 作者: M Marcel Holtmann 提交者: Johan Hedberg

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: NMarcel Holtmann <marcel@holtmann.org>
Signed-off-by: NJohan Hedberg <johan.hedberg@intel.com>
上级 2b5224dc
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册