]> git.karo-electronics.de Git - linux-beck.git/commitdiff
Bluetooth: Use proper command structure in remove_uuid
authorSzymon Janc <szymon.janc@tieto.com>
Fri, 25 Feb 2011 18:05:47 +0000 (19:05 +0100)
committerGustavo F. Padovan <padovan@profusion.mobi>
Sun, 27 Feb 2011 19:24:05 +0000 (16:24 -0300)
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>
net/bluetooth/mgmt.c

index 982becd33ee6ce3ea75bea7cd81d59e9f7d92f68..4543ede4ddf3dcd9d539163f3b5442ee01cbe149 100644 (file)
@@ -613,7 +613,7 @@ failed:
 static int remove_uuid(struct sock *sk, unsigned char *data, u16 len)
 {
        struct list_head *p, *n;
-       struct mgmt_cp_add_uuid *cp;
+       struct mgmt_cp_remove_uuid *cp;
        struct hci_dev *hdev;
        u8 bt_uuid_any[] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 };
        u16 dev_id;