aboutsummaryrefslogtreecommitdiffstats
path: root/net/bluetooth
diff options
context:
space:
mode:
authorAndre Guedes <andre.guedes@openbossa.org>2013-04-30 14:29:39 -0400
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>2013-06-22 19:23:52 -0400
commit8892d8beb37cb4ea531a5076946d5cc809b04c25 (patch)
tree66c1a64f4f843484e23866a0d6259bc8f70f0688 /net/bluetooth
parentb0434345f2a7330be5277b63606cff26a7965982 (diff)
Bluetooth: Remove empty event handler
This patch removes the hci_cc_le_set_scan_param event handler. This handler became empty because failures of this event are now handled by start_discovery_complete function in mgmt.c. Signed-off-by: Andre Guedes <andre.guedes@openbossa.org> Acked-by: Johan Hedberg <johan.hedberg@intel.com> Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
Diffstat (limited to 'net/bluetooth')
-rw-r--r--net/bluetooth/hci_event.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/net/bluetooth/hci_event.c b/net/bluetooth/hci_event.c
index 76ff1af05693..db58e72316b9 100644
--- a/net/bluetooth/hci_event.c
+++ b/net/bluetooth/hci_event.c
@@ -929,14 +929,6 @@ static void hci_cc_le_set_adv_enable(struct hci_dev *hdev, struct sk_buff *skb)
929 hci_dev_unlock(hdev); 929 hci_dev_unlock(hdev);
930} 930}
931 931
932static void hci_cc_le_set_scan_param(struct hci_dev *hdev, struct sk_buff *skb)
933{
934 __u8 status = *((__u8 *) skb->data);
935
936 BT_DBG("%s status 0x%2.2x", hdev->name, status);
937
938}
939
940static void hci_cc_le_set_scan_enable(struct hci_dev *hdev, 932static void hci_cc_le_set_scan_enable(struct hci_dev *hdev,
941 struct sk_buff *skb) 933 struct sk_buff *skb)
942{ 934{
@@ -2251,10 +2243,6 @@ static void hci_cmd_complete_evt(struct hci_dev *hdev, struct sk_buff *skb)
2251 hci_cc_user_passkey_neg_reply(hdev, skb); 2243 hci_cc_user_passkey_neg_reply(hdev, skb);
2252 break; 2244 break;
2253 2245
2254 case HCI_OP_LE_SET_SCAN_PARAM:
2255 hci_cc_le_set_scan_param(hdev, skb);
2256 break;
2257
2258 case HCI_OP_LE_SET_ADV_ENABLE: 2246 case HCI_OP_LE_SET_ADV_ENABLE:
2259 hci_cc_le_set_adv_enable(hdev, skb); 2247 hci_cc_le_set_adv_enable(hdev, skb);
2260 break; 2248 break;