aboutsummaryrefslogtreecommitdiffstats
path: root/net/bluetooth/hci_event.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/bluetooth/hci_event.c')
-rw-r--r--net/bluetooth/hci_event.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/net/bluetooth/hci_event.c b/net/bluetooth/hci_event.c
index d57c11c1c6b5..c162af5d16bf 100644
--- a/net/bluetooth/hci_event.c
+++ b/net/bluetooth/hci_event.c
@@ -1183,7 +1183,7 @@ static void hci_cc_le_set_scan_enable(struct hci_dev *hdev,
1183 hci_discovery_set_state(hdev, DISCOVERY_STOPPED); 1183 hci_discovery_set_state(hdev, DISCOVERY_STOPPED);
1184 else if (!hci_dev_test_flag(hdev, HCI_LE_ADV) && 1184 else if (!hci_dev_test_flag(hdev, HCI_LE_ADV) &&
1185 hdev->discovery.state == DISCOVERY_FINDING) 1185 hdev->discovery.state == DISCOVERY_FINDING)
1186 mgmt_reenable_advertising(hdev); 1186 hci_req_reenable_advertising(hdev);
1187 1187
1188 break; 1188 break;
1189 1189
@@ -2176,7 +2176,7 @@ static void hci_conn_complete_evt(struct hci_dev *hdev, struct sk_buff *skb)
2176 hci_send_cmd(hdev, HCI_OP_READ_REMOTE_FEATURES, 2176 hci_send_cmd(hdev, HCI_OP_READ_REMOTE_FEATURES,
2177 sizeof(cp), &cp); 2177 sizeof(cp), &cp);
2178 2178
2179 hci_update_page_scan(hdev); 2179 hci_req_update_scan(hdev);
2180 } 2180 }
2181 2181
2182 /* Set packet type for incoming connection */ 2182 /* Set packet type for incoming connection */
@@ -2362,7 +2362,7 @@ static void hci_disconn_complete_evt(struct hci_dev *hdev, struct sk_buff *skb)
2362 if (test_bit(HCI_CONN_FLUSH_KEY, &conn->flags)) 2362 if (test_bit(HCI_CONN_FLUSH_KEY, &conn->flags))
2363 hci_remove_link_key(hdev, &conn->dst); 2363 hci_remove_link_key(hdev, &conn->dst);
2364 2364
2365 hci_update_page_scan(hdev); 2365 hci_req_update_scan(hdev);
2366 } 2366 }
2367 2367
2368 params = hci_conn_params_lookup(hdev, &conn->dst, conn->dst_type); 2368 params = hci_conn_params_lookup(hdev, &conn->dst, conn->dst_type);
@@ -2401,7 +2401,7 @@ static void hci_disconn_complete_evt(struct hci_dev *hdev, struct sk_buff *skb)
2401 * is timed out due to Directed Advertising." 2401 * is timed out due to Directed Advertising."
2402 */ 2402 */
2403 if (type == LE_LINK) 2403 if (type == LE_LINK)
2404 mgmt_reenable_advertising(hdev); 2404 hci_req_reenable_advertising(hdev);
2405 2405
2406unlock: 2406unlock:
2407 hci_dev_unlock(hdev); 2407 hci_dev_unlock(hdev);
@@ -3833,9 +3833,9 @@ static void hci_extended_inquiry_result_evt(struct hci_dev *hdev,
3833 data.ssp_mode = 0x01; 3833 data.ssp_mode = 0x01;
3834 3834
3835 if (hci_dev_test_flag(hdev, HCI_MGMT)) 3835 if (hci_dev_test_flag(hdev, HCI_MGMT))
3836 name_known = eir_has_data_type(info->data, 3836 name_known = eir_get_data(info->data,
3837 sizeof(info->data), 3837 sizeof(info->data),
3838 EIR_NAME_COMPLETE); 3838 EIR_NAME_COMPLETE, NULL);
3839 else 3839 else
3840 name_known = true; 3840 name_known = true;
3841 3841