aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSzymon Janc <szymon.janc@tieto.com>2011-02-25 13:05:47 -0500
committerGustavo F. Padovan <padovan@profusion.mobi>2011-02-27 14:24:05 -0500
commit779cb85016587d9ffaea681c38691d5301a3fedc (patch)
tree424521d61094b129f175228d64be50c4e00d9f00
parent50899e8d3a1b0655087838374a51ee5b865961b6 (diff)
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>
-rw-r--r--net/bluetooth/mgmt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bluetooth/mgmt.c b/net/bluetooth/mgmt.c
index 982becd33ee6..4543ede4ddf3 100644
--- a/net/bluetooth/mgmt.c
+++ b/net/bluetooth/mgmt.c
@@ -613,7 +613,7 @@ failed:
613static int remove_uuid(struct sock *sk, unsigned char *data, u16 len) 613static int remove_uuid(struct sock *sk, unsigned char *data, u16 len)
614{ 614{
615 struct list_head *p, *n; 615 struct list_head *p, *n;
616 struct mgmt_cp_add_uuid *cp; 616 struct mgmt_cp_remove_uuid *cp;
617 struct hci_dev *hdev; 617 struct hci_dev *hdev;
618 u8 bt_uuid_any[] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }; 618 u8 bt_uuid_any[] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 };
619 u16 dev_id; 619 u16 dev_id;