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:
a5c2968
)
Bluetooth: Fix mgmt_pin_code_reply command status opcode
author
Johan Hedberg
<johan.hedberg@nokia.com>
Sat, 19 Feb 2011 15:05:58 +0000
(12:05 -0300)
committer
Gustavo F. Padovan
<padovan@profusion.mobi>
Mon, 21 Feb 2011 20:22:44 +0000
(17:22 -0300)
The opcode for the ENODEV case was wrong (probably copy-paste mistake).
Signed-off-by: Johan Hedberg <johan.hedberg@nokia.com>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
net/bluetooth/mgmt.c
patch
|
blob
|
blame
|
history
diff --git
a/net/bluetooth/mgmt.c
b/net/bluetooth/mgmt.c
index fdcc9742bb00cab257852cbb5753a3d27aa75869..d1d9b8c3a1b0b4216324be1be5af45df588bea72 100644
(file)
--- a/
net/bluetooth/mgmt.c
+++ b/
net/bluetooth/mgmt.c
@@
-962,7
+962,7
@@
static int pin_code_reply(struct sock *sk, unsigned char *data, u16 len)
hdev = hci_dev_get(dev_id);
if (!hdev)
- return cmd_status(sk, MGMT_OP_
DISCONNECT
, ENODEV);
+ return cmd_status(sk, MGMT_OP_
PIN_CODE_REPLY
, ENODEV);
hci_dev_lock_bh(hdev);
This page took
0.026285 seconds
and
5
git commands to generate.