Skip to content

Commit

Permalink
Bluetooth: Export current local RPA with identity information
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Marcel Holtmann authored and Johan Hedberg committed Feb 24, 2014
1 parent 2b5224d commit 473deef
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion net/bluetooth/hci_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 473deef

Please sign in to comment.