projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a00665
)
Bluetooth: Fix extra conversion to __le32
author
Andrei Emeltchenko
<andrei.emeltchenko@intel.com>
Fri, 9 Mar 2012 11:00:50 +0000
(13:00 +0200)
committer
Gustavo Padovan
<gustavo@padovan.org>
Wed, 9 May 2012 03:41:29 +0000
(
00:41
-0300)
Value to be converted is already in __le32 format.
Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
net/bluetooth/mgmt.c
patch
|
blob
|
history
diff --git
a/net/bluetooth/mgmt.c
b/net/bluetooth/mgmt.c
index
4bb03b1
..
4a2fb06
100644
(file)
--- a/
net/bluetooth/mgmt.c
+++ b/
net/bluetooth/mgmt.c
@@
-3112,7
+3112,7
@@
int mgmt_user_confirm_request(struct hci_dev *hdev, bdaddr_t *bdaddr,
bacpy(&ev.addr.bdaddr, bdaddr);
ev.addr.type = link_to_mgmt(link_type, addr_type);
ev.confirm_hint = confirm_hint;
-
put_unaligned_le32(value, &ev.value)
;
+
ev.value = value
;
return mgmt_event(MGMT_EV_USER_CONFIRM_REQUEST, hdev, &ev, sizeof(ev),
NULL);