diff options
author | Andrei Emeltchenko <andrei.emeltchenko@intel.com> | 2012-03-09 04:59:15 -0500 |
---|---|---|
committer | Gustavo Padovan <gustavo@padovan.org> | 2012-05-08 23:41:28 -0400 |
commit | e46668819c1bd5930720a7e020e2a45291f9de4f (patch) | |
tree | 45fe214dfcd825b8f90315f4a2754d5d0dfb7396 /net/bluetooth/hci_event.c | |
parent | 341352d13dae752610342923c53ebe461624ee2c (diff) |
Bluetooth: trivial: Correct endian conversion
Correct endian conversion reported by sparse
Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
Diffstat (limited to 'net/bluetooth/hci_event.c')
-rw-r--r-- | net/bluetooth/hci_event.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bluetooth/hci_event.c b/net/bluetooth/hci_event.c index 6c065254afc0..982ae3c52db4 100644 --- a/net/bluetooth/hci_event.c +++ b/net/bluetooth/hci_event.c | |||
@@ -3336,7 +3336,7 @@ static inline void hci_le_ltk_request_evt(struct hci_dev *hdev, | |||
3336 | struct hci_conn *conn; | 3336 | struct hci_conn *conn; |
3337 | struct smp_ltk *ltk; | 3337 | struct smp_ltk *ltk; |
3338 | 3338 | ||
3339 | BT_DBG("%s handle %d", hdev->name, cpu_to_le16(ev->handle)); | 3339 | BT_DBG("%s handle %d", hdev->name, __le16_to_cpu(ev->handle)); |
3340 | 3340 | ||
3341 | hci_dev_lock(hdev); | 3341 | hci_dev_lock(hdev); |
3342 | 3342 | ||