hci_event.c (d23264a896a931c4b355c102d8e9d46649195ba4) hci_event.c (07f7fa5db1e65a27066c8ebf9fc676a4168e07f4)
1/*
2 BlueZ - Bluetooth protocol stack for Linux
3 Copyright (c) 2000-2001, 2010, Code Aurora Forum. All rights reserved.
4
5 Written 2000,2001 by Maxim Krasnyansky <maxk@qualcomm.com>
6
7 This program is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License version 2 as

--- 978 unchanged lines hidden (view full) ---

987 BT_DBG("%s status 0x%x", hdev->name, rp->status);
988
989 hci_dev_lock(hdev);
990 mgmt_read_local_oob_data_reply_complete(hdev, rp->hash,
991 rp->randomizer, rp->status);
992 hci_dev_unlock(hdev);
993}
994
1/*
2 BlueZ - Bluetooth protocol stack for Linux
3 Copyright (c) 2000-2001, 2010, Code Aurora Forum. All rights reserved.
4
5 Written 2000,2001 by Maxim Krasnyansky <maxk@qualcomm.com>
6
7 This program is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License version 2 as

--- 978 unchanged lines hidden (view full) ---

987 BT_DBG("%s status 0x%x", hdev->name, rp->status);
988
989 hci_dev_lock(hdev);
990 mgmt_read_local_oob_data_reply_complete(hdev, rp->hash,
991 rp->randomizer, rp->status);
992 hci_dev_unlock(hdev);
993}
994
995static void hci_cc_le_set_scan_param(struct hci_dev *hdev, struct sk_buff *skb)
996{
997 __u8 status = *((__u8 *) skb->data);
998
999 BT_DBG("%s status 0x%x", hdev->name, status);
1000}
1001
995static void hci_cc_le_set_scan_enable(struct hci_dev *hdev,
996 struct sk_buff *skb)
997{
998 struct hci_cp_le_set_scan_enable *cp;
999 __u8 status = *((__u8 *) skb->data);
1000
1001 BT_DBG("%s status 0x%x", hdev->name, status);
1002

--- 1069 unchanged lines hidden (view full) ---

2072 break;
2073
2074 case HCI_OP_USER_PASSKEY_REPLY:
2075 hci_cc_user_passkey_reply(hdev, skb);
2076 break;
2077
2078 case HCI_OP_USER_PASSKEY_NEG_REPLY:
2079 hci_cc_user_passkey_neg_reply(hdev, skb);
1002static void hci_cc_le_set_scan_enable(struct hci_dev *hdev,
1003 struct sk_buff *skb)
1004{
1005 struct hci_cp_le_set_scan_enable *cp;
1006 __u8 status = *((__u8 *) skb->data);
1007
1008 BT_DBG("%s status 0x%x", hdev->name, status);
1009

--- 1069 unchanged lines hidden (view full) ---

2079 break;
2080
2081 case HCI_OP_USER_PASSKEY_REPLY:
2082 hci_cc_user_passkey_reply(hdev, skb);
2083 break;
2084
2085 case HCI_OP_USER_PASSKEY_NEG_REPLY:
2086 hci_cc_user_passkey_neg_reply(hdev, skb);
2087
2088 case HCI_OP_LE_SET_SCAN_PARAM:
2089 hci_cc_le_set_scan_param(hdev, skb);
2080 break;
2081
2082 case HCI_OP_LE_SET_SCAN_ENABLE:
2083 hci_cc_le_set_scan_enable(hdev, skb);
2084 break;
2085
2086 case HCI_OP_LE_LTK_REPLY:
2087 hci_cc_le_ltk_reply(hdev, skb);

--- 1166 unchanged lines hidden ---
2090 break;
2091
2092 case HCI_OP_LE_SET_SCAN_ENABLE:
2093 hci_cc_le_set_scan_enable(hdev, skb);
2094 break;
2095
2096 case HCI_OP_LE_LTK_REPLY:
2097 hci_cc_le_ltk_reply(hdev, skb);

--- 1166 unchanged lines hidden ---