diff options
author | Johan Hedberg <johan.hedberg@intel.com> | 2011-12-14 17:47:41 -0500 |
---|---|---|
committer | Gustavo F. Padovan <padovan@profusion.mobi> | 2011-12-18 14:43:19 -0500 |
commit | c9c2659f1ea84f860af82cac504cc58f17067523 (patch) | |
tree | 7cb2ea1d738f305a7dbfcbae670f670323b0edd3 /net | |
parent | f71d5a255f047b0ae97c5fa3e78c11ef6ef33b90 (diff) |
Bluetooth: Use correct struct for user_confirm_neg_reply
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>
Diffstat (limited to 'net')
-rw-r--r-- | net/bluetooth/mgmt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bluetooth/mgmt.c b/net/bluetooth/mgmt.c index 6cb8c7f708b5..8413f55cc13c 100644 --- 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) | |||
1690 | static int user_confirm_neg_reply(struct sock *sk, u16 index, void *data, | 1690 | static int user_confirm_neg_reply(struct sock *sk, u16 index, void *data, |
1691 | u16 len) | 1691 | u16 len) |
1692 | { | 1692 | { |
1693 | struct mgmt_cp_user_confirm_reply *cp = (void *) data; | 1693 | struct mgmt_cp_user_confirm_neg_reply *cp = data; |
1694 | 1694 | ||
1695 | BT_DBG(""); | 1695 | BT_DBG(""); |
1696 | 1696 | ||