projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d084329
)
Bluetooth: Fix mgmt_stop_discovery_failed()
author
Andre Guedes
<andre.guedes@openbossa.org>
Mon, 2 Jan 2012 19:50:53 +0000
(16:50 -0300)
committer
Gustavo F. Padovan
<padovan@profusion.mobi>
Tue, 3 Jan 2012 03:35:23 +0000
(
01:35
-0200)
Stop Discovery Command Status Event should use mgmt status code.
Signed-off-by: Andre Guedes <andre.guedes@openbossa.org>
Acked-by: Johan Hedberg <johan.hedberg@intel.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 38ec8ca72175d262b03eda8b0c79bbbf85367009..bc8e59dda78e2bf72f81c3eeacea748d5cbd78ae 100644
(file)
--- a/
net/bluetooth/mgmt.c
+++ b/
net/bluetooth/mgmt.c
@@
-2756,7
+2756,7
@@
int mgmt_stop_discovery_failed(struct hci_dev *hdev, u8 status)
if (!cmd)
return -ENOENT;
- err = cmd_status(cmd->sk, hdev->id, cmd->opcode,
status
);
+ err = cmd_status(cmd->sk, hdev->id, cmd->opcode,
mgmt_status(status)
);
mgmt_pending_remove(cmd);
return err;