summaryrefslogtreecommitdiff
path: root/net/bluetooth
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2015-03-16 19:34:58 (GMT)
committerJohan Hedberg <johan.hedberg@intel.com>2015-03-16 19:36:24 (GMT)
commitb880ab869c4e1e7cadb040d4ee9b189aebd6cb38 (patch)
tree8a1b3ec1719c2fec43f819ffe9b5dab148a2d008 /net/bluetooth
parentfb334fee60ebd1aea23cc5daf3abac10139c9a24 (diff)
downloadlinux-b880ab869c4e1e7cadb040d4ee9b189aebd6cb38.tar.xz
Bluetooth: The P-256 randomizer is 16 octets long and not 19 octets
This seems to be a simple typo in the debugfs entry for the remote out-of-band data entries. Signed-off-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Diffstat (limited to 'net/bluetooth')
-rw-r--r--net/bluetooth/hci_debugfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bluetooth/hci_debugfs.c b/net/bluetooth/hci_debugfs.c
index bc801e9..0818fab 100644
--- a/net/bluetooth/hci_debugfs.c
+++ b/net/bluetooth/hci_debugfs.c
@@ -166,7 +166,7 @@ static int remote_oob_show(struct seq_file *f, void *ptr)
seq_printf(f, "%pMR (type %u) %u %*phN %*phN %*phN %*phN\n",
&data->bdaddr, data->bdaddr_type, data->present,
16, data->hash192, 16, data->rand192,
- 16, data->hash256, 19, data->rand256);
+ 16, data->hash256, 16, data->rand256);
}
hci_dev_unlock(hdev);