Linux bluetooth development
 help / color / mirror / Atom feed
* [PATCH v2 1/3] Bluetooth: Use proper command structure in remove_uuid
@ 2011-02-23 15:50 Szymon Janc
  2011-02-23 15:50 ` [PATCH v2 2/3] Bluetooth: Move index to common header in management interface Szymon Janc
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Szymon Janc @ 2011-02-23 15:50 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: par-gunnar.p.hjalmdahl, henrik.possung, Szymon Janc

The structure used for command was wrong (probably copy-paste mistake).

Signed-off-by: Szymon Janc <szymon.janc@tieto.com>
---
 net/bluetooth/mgmt.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

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;
-- 
1.7.0.4
on behalf of ST-Ericsson

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2011-02-25 15:50 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-23 15:50 [PATCH v2 1/3] Bluetooth: Use proper command structure in remove_uuid Szymon Janc
2011-02-23 15:50 ` [PATCH v2 2/3] Bluetooth: Move index to common header in management interface Szymon Janc
2011-02-25 15:47   ` Johan Hedberg
2011-02-23 15:50 ` [PATCH v2 3/3] Bluetooth: Validate data size before accessing mgmt commands Szymon Janc
2011-02-25 15:50   ` Johan Hedberg
2011-02-25 15:46 ` [PATCH v2 1/3] Bluetooth: Use proper command structure in remove_uuid Johan Hedberg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox