Bluetooth: Fix UUID values in debugfs file
authorMarcel Holtmann <marcel@holtmann.org>
Sat, 19 Oct 2013 16:31:59 +0000 (09:31 -0700)
committerJohan Hedberg <johan.hedberg@intel.com>
Sat, 19 Oct 2013 17:46:12 +0000 (20:46 +0300)
commit58f01aa93ff590ddd6a77cde41c25b6022d93769
treee7bb51d28951d744dc3c2c3718aed814bc69b12b
parent4b4148e9acc1a51c454f133637e5dc7e298bd5bb
Bluetooth: Fix UUID values in debugfs file

The uuid entry struct is used for the UUID byte stream. That is
actually the wrong value. The correct value is uuid->uuid.

Besides fixing this up, use the %pUb modifier to print the UUID
string. However since the UUID is stored in big endian with
reversed byte order, change the byte order before printing.

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
net/bluetooth/hci_core.c