projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
341352d
)
Bluetooth: trivial: Correct endian conversion
author
Andrei Emeltchenko
<andrei.emeltchenko@intel.com>
Fri, 9 Mar 2012 09:59:15 +0000
(11:59 +0200)
committer
Gustavo Padovan
<gustavo@padovan.org>
Wed, 9 May 2012 03:41:28 +0000
(
00:41
-0300)
Correct endian conversion reported by sparse
Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
net/bluetooth/hci_event.c
patch
|
blob
|
history
diff --git
a/net/bluetooth/hci_event.c
b/net/bluetooth/hci_event.c
index 6c065254afc03dcfbd11bad037791561b7f99f45..982ae3c52db4e0d93e3ade5b98b16fd274b20bd7 100644
(file)
--- 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,
struct hci_conn *conn;
struct smp_ltk *ltk;
- BT_DBG("%s handle %d", hdev->name,
cpu_to_le16
(ev->handle));
+ BT_DBG("%s handle %d", hdev->name,
__le16_to_cpu
(ev->handle));
hci_dev_lock(hdev);