Commit c9c2659f authored by Johan Hedberg's avatar Johan Hedberg Committed by Gustavo F. Padovan
Browse files

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: default avatarJohan Hedberg <>
Acked-by: default avatarMarcel Holtmann <>
Signed-off-by: default avatarGustavo F. Padovan <>
parent f71d5a25
......@@ -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;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment