Commit 779cb850 authored by Szymon Janc's avatar Szymon Janc Committed by Gustavo F. Padovan

Bluetooth: Use proper command structure in remove_uuid

The structure used for command was wrong (probably copy-paste mistake).
Signed-off-by: default avatarSzymon Janc <szymon.janc@tieto.com>
Acked-by: default avatarJohan Hedberg <johan.hedberg@nokia.com>
Signed-off-by: default avatarGustavo F. Padovan <padovan@profusion.mobi>
parent 50899e8d
...@@ -613,7 +613,7 @@ static int add_uuid(struct sock *sk, unsigned char *data, u16 len) ...@@ -613,7 +613,7 @@ static int add_uuid(struct sock *sk, unsigned char *data, u16 len)
static int remove_uuid(struct sock *sk, unsigned char *data, u16 len) static int remove_uuid(struct sock *sk, unsigned char *data, u16 len)
{ {
struct list_head *p, *n; struct list_head *p, *n;
struct mgmt_cp_add_uuid *cp; struct mgmt_cp_remove_uuid *cp;
struct hci_dev *hdev; struct hci_dev *hdev;
u8 bt_uuid_any[] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }; u8 bt_uuid_any[] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 };
u16 dev_id; u16 dev_id;
......
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