linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 1/3] Bluetooth: Use proper command structure in remove_uuid
@ 2011-02-25 18:05 Szymon Janc
  2011-02-25 18:05 ` [PATCH v3 2/3] Bluetooth: Move index to common header in management interface Szymon Janc
  2011-02-25 18:05 ` [PATCH v3 3/3] Bluetooth: Validate data size before accessing mgmt commands Szymon Janc
  0 siblings, 2 replies; 4+ messages in thread
From: Szymon Janc @ 2011-02-25 18:05 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] 4+ messages in thread

end of thread, other threads:[~2011-02-27 19:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-25 18:05 [PATCH v3 1/3] Bluetooth: Use proper command structure in remove_uuid Szymon Janc
2011-02-25 18:05 ` [PATCH v3 2/3] Bluetooth: Move index to common header in management interface Szymon Janc
2011-02-25 18:05 ` [PATCH v3 3/3] Bluetooth: Validate data size before accessing mgmt commands Szymon Janc
2011-02-27 19:58   ` Gustavo F. Padovan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).