projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
50899e8
)
Bluetooth: Use proper command structure in remove_uuid
author
Szymon Janc
<
[email protected]
>
Fri, 25 Feb 2011 18:05:47 +0000
(19:05 +0100)
committer
Gustavo F. Padovan
<
[email protected]
>
Sun, 27 Feb 2011 19:24:05 +0000
(16:24 -0300)
The structure used for command was wrong (probably copy-paste mistake).
Signed-off-by: Szymon Janc <
[email protected]
>
Acked-by: Johan Hedberg <
[email protected]
>
Signed-off-by: Gustavo F. Padovan <
[email protected]
>
net/bluetooth/mgmt.c
patch
|
blob
|
history
diff --git
a/net/bluetooth/mgmt.c
b/net/bluetooth/mgmt.c
index 982becd33ee6ce3ea75bea7cd81d59e9f7d92f68..4543ede4ddf3dcd9d539163f3b5442ee01cbe149 100644
(file)
--- 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;