mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
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 <[email protected]> Acked-by: Marcel Holtmann <[email protected]> Signed-off-by: Gustavo F. Padovan <[email protected]>
This commit is contained in:
parent
f71d5a255f
commit
c9c2659f1e
1 changed files with 1 additions and 1 deletions
|
|
@ -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("");
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue