From: Szymon Janc Date: Fri, 25 Feb 2011 18:05:47 +0000 (+0100) Subject: Bluetooth: Use proper command structure in remove_uuid X-Git-Tag: v3.0~349^2~16^2~578^2~79^2~8 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=779cb85016587d9ffaea681c38691d5301a3fedc;p=platform%2Fkernel%2Flinux-amlogic.git Bluetooth: Use proper command structure in remove_uuid The structure used for command was wrong (probably copy-paste mistake). Signed-off-by: Szymon Janc Acked-by: Johan Hedberg Signed-off-by: Gustavo F. Padovan --- diff --git a/net/bluetooth/mgmt.c b/net/bluetooth/mgmt.c index 982becd..4543ede 100644 --- a/net/bluetooth/mgmt.c +++ b/net/bluetooth/mgmt.c @@ -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;