projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f71d5a2
)
Bluetooth: Use correct struct for user_confirm_neg_reply
author
Johan Hedberg
<johan.hedberg@intel.com>
Wed, 14 Dec 2011 22:47:41 +0000
(
00:47
+0200)
committer
Gustavo F. Padovan
<padovan@profusion.mobi>
Sun, 18 Dec 2011 19:43:19 +0000
(17:43 -0200)
This patch fixes user_confirm_neg_reply to use the appropriate struct
for accessing the call parameters.
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
net/bluetooth/mgmt.c
patch
|
blob
|
blame
|
history
diff --git
a/net/bluetooth/mgmt.c
b/net/bluetooth/mgmt.c
index 6cb8c7f708b5f1dd800361d88a220b2c878d44ca..8413f55cc13ca07a3e23514e67eba3bc90c783f4 100644
(file)
--- a/
net/bluetooth/mgmt.c
+++ b/
net/bluetooth/mgmt.c
@@
-1690,7
+1690,7
@@
static int user_confirm_reply(struct sock *sk, u16 index, void *data, u16 len)
static int user_confirm_neg_reply(struct sock *sk, u16 index, void *data,
u16 len)
{
- struct mgmt_cp_user_confirm_
reply *cp = (void *)
data;
+ struct mgmt_cp_user_confirm_
neg_reply *cp =
data;
BT_DBG("");