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:
ca69b79
)
Bluetooth: Add missing cmd_complete for mgmt_load_link_keys
author
Johan Hedberg
<johan.hedberg@intel.com>
Fri, 11 Nov 2011 14:18:54 +0000
(16:18 +0200)
committer
Gustavo F. Padovan
<padovan@profusion.mobi>
Wed, 16 Nov 2011 18:23:06 +0000
(16:23 -0200)
The command complete event was completely missing for this command.
Signed-off-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 cb3af4e4f9593b5139834531840d6aa8a4cb3fc0..e4a353cfa97d3519424489ded76743bb47509bb5 100644
(file)
--- a/
net/bluetooth/mgmt.c
+++ b/
net/bluetooth/mgmt.c
@@
-1052,6
+1052,8
@@
static int load_link_keys(struct sock *sk, u16 index, unsigned char *data,
key->pin_len);
}
+ cmd_complete(sk, index, MGMT_OP_LOAD_LINK_KEYS, NULL, 0);
+
hci_dev_unlock_bh(hdev);
hci_dev_put(hdev);