Skip to content

Commit 779cb85

Browse files
Szymon JancGustavo F. Padovan
authored andcommitted
Bluetooth: Use proper command structure in remove_uuid
The structure used for command was wrong (probably copy-paste mistake). Signed-off-by: Szymon Janc <szymon.janc@tieto.com> Acked-by: Johan Hedberg <johan.hedberg@nokia.com> Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
1 parent 50899e8 commit 779cb85

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎net/bluetooth/mgmt.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -613,7 +613,7 @@ static int add_uuid(struct sock *sk, unsigned char *data, u16 len)
613613
static int remove_uuid(struct sock *sk, unsigned char *data, u16 len)
614614
{
615615
struct list_head *p, *n;
616-
struct mgmt_cp_add_uuid *cp;
616+
struct mgmt_cp_remove_uuid *cp;
617617
struct hci_dev *hdev;
618618
u8 bt_uuid_any[] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 };
619619
u16 dev_id;

0 commit comments

Comments
 (0)