diff --git a/net/bluetooth/mgmt.c b/net/bluetooth/mgmt.c index cb3af4e4f9593b5139834531840d6aa8a4cb3fc0..e4a353cfa97d3519424489ded76743bb47509bb5 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, key->pin_len); } + cmd_complete(sk, index, MGMT_OP_LOAD_LINK_KEYS, NULL, 0); + hci_dev_unlock_bh(hdev); hci_dev_put(hdev);