Skip to content

Commit

Permalink
Bluetooth: Add missing cmd_complete for mgmt_load_link_keys
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Johan Hedberg authored and Gustavo F. Padovan committed Nov 16, 2011
1 parent ca69b79 commit 0e5f875
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions net/bluetooth/mgmt.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 0e5f875

Please sign in to comment.