projects
/
deliverable
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
09b3c3f
)
Bluetooth: mgmt: Fix return value for set_class
author
Johan Hedberg
<johan.hedberg@intel.com>
Wed, 22 Feb 2012 20:02:50 +0000
(22:02 +0200)
committer
Johan Hedberg
<johan.hedberg@intel.com>
Thu, 23 Feb 2012 11:07:01 +0000
(13:07 +0200)
The return parameters for Set Device Class should consist of the new
class value.
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/mgmt.c
patch
|
blob
|
blame
|
history
diff --git
a/net/bluetooth/mgmt.c
b/net/bluetooth/mgmt.c
index 6850a8b46c62d99883eb34b7b1f619d1342318b6..23421f05abf2766e121b97aa26653173e5dc40b2 100644
(file)
--- a/
net/bluetooth/mgmt.c
+++ b/
net/bluetooth/mgmt.c
@@
-1470,7
+1470,7
@@
static int set_dev_class(struct sock *sk, u16 index, void *data, u16 len)
if (err == 0)
err = cmd_complete(sk, index, MGMT_OP_SET_DEV_CLASS, 0,
-
NULL, 0
);
+
hdev->dev_class, 3
);
unlock:
hci_dev_unlock(hdev);
This page took
0.027206 seconds
and
5
git commands to generate.