|
@@ -223,22 +223,6 @@ void hci_le_start_enc(struct hci_conn *conn, __le16 ediv, __u8 rand[8],
|
|
|
}
|
|
|
EXPORT_SYMBOL(hci_le_start_enc);
|
|
|
|
|
|
-void hci_le_ltk_reply(struct hci_conn *conn, u8 ltk[16])
|
|
|
-{
|
|
|
- struct hci_dev *hdev = conn->hdev;
|
|
|
- struct hci_cp_le_ltk_reply cp;
|
|
|
-
|
|
|
- BT_DBG("%p", conn);
|
|
|
-
|
|
|
- memset(&cp, 0, sizeof(cp));
|
|
|
-
|
|
|
- cp.handle = cpu_to_le16(conn->handle);
|
|
|
- memcpy(cp.ltk, ltk, sizeof(ltk));
|
|
|
-
|
|
|
- hci_send_cmd(hdev, HCI_OP_LE_LTK_REPLY, sizeof(cp), &cp);
|
|
|
-}
|
|
|
-EXPORT_SYMBOL(hci_le_ltk_reply);
|
|
|
-
|
|
|
void hci_le_ltk_neg_reply(struct hci_conn *conn)
|
|
|
{
|
|
|
struct hci_dev *hdev = conn->hdev;
|