diff options
author | Johan Hedberg <johan.hedberg@intel.com> | 2011-11-11 09:18:54 -0500 |
---|---|---|
committer | Gustavo F. Padovan <padovan@profusion.mobi> | 2011-11-16 13:23:06 -0500 |
commit | 0e5f875a8f4fa78edf5762d6d0a9843e1d9ae85e (patch) | |
tree | 23c2dd40c6653bc5fa9d206f7d4943ad9a21645e /net/bluetooth/mgmt.c | |
parent | ca69b7957bf2e3bc0acc882b837a42617498ece1 (diff) |
Bluetooth: Add missing cmd_complete for mgmt_load_link_keys
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>
Diffstat (limited to 'net/bluetooth/mgmt.c')
-rw-r--r-- | net/bluetooth/mgmt.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/bluetooth/mgmt.c b/net/bluetooth/mgmt.c index cb3af4e4f959..e4a353cfa97d 100644 --- 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, | |||
1052 | key->pin_len); | 1052 | key->pin_len); |
1053 | } | 1053 | } |
1054 | 1054 | ||
1055 | cmd_complete(sk, index, MGMT_OP_LOAD_LINK_KEYS, NULL, 0); | ||
1056 | |||
1055 | hci_dev_unlock_bh(hdev); | 1057 | hci_dev_unlock_bh(hdev); |
1056 | hci_dev_put(hdev); | 1058 | hci_dev_put(hdev); |
1057 | 1059 | ||