aboutsummaryrefslogtreecommitdiffstats
path: root/net/bluetooth
diff options
context:
space:
mode:
authorSzymon Janc <szymon.janc@tieto.com>2011-02-25 19:05:47 +0100
committerGustavo F. Padovan <padovan@profusion.mobi>2011-02-27 16:24:05 -0300
commit779cb85016587d9ffaea681c38691d5301a3fedc (patch)
tree424521d61094b129f175228d64be50c4e00d9f00 /net/bluetooth
parentBluetooth: Remove duplicated BT_INFO() from L2CAP (diff)
downloadlinux-dev-779cb85016587d9ffaea681c38691d5301a3fedc.tar.xz
linux-dev-779cb85016587d9ffaea681c38691d5301a3fedc.zip
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>
Diffstat (limited to 'net/bluetooth')
-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:
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;