HCI_INIT
if (test_bit(HCI_INIT, &hdev->flags))
if (!test_bit(HCI_INIT, &hdev->flags) &&
&& !test_bit(HCI_INIT, &hdev->flags))) {
if (test_bit(HCI_INIT, &hdev->flags) && opcode == HCI_OP_RESET)
!test_bit(HCI_INIT, &hdev->flags)) {
if (test_bit(HCI_INIT, &hdev->flags)) {
if (test_bit(HCI_INIT, &hdev->flags)) {
if (test_bit(HCI_INIT, &hdev->flags))
if (test_bit(HCI_INIT, &hdev->flags))
if (test_bit(HCI_INIT, &hdev->flags) ||
test_bit(HCI_INIT, &hdev->flags) ||
test_bit(HCI_INIT, &hdev->flags) ||
HCI_INIT(hci_read_local_version_sync),
HCI_INIT(hci_read_bd_addr_sync),
HCI_INIT(hci_read_local_features_sync),
HCI_INIT(hci_read_local_version_sync),
HCI_INIT(hci_read_bd_addr_sync),
HCI_INIT(hci_read_buffer_size_sync),
HCI_INIT(hci_read_dev_class_sync),
HCI_INIT(hci_read_local_name_sync),
HCI_INIT(hci_read_voice_setting_sync),
HCI_INIT(hci_read_num_supported_iac_sync),
HCI_INIT(hci_read_current_iac_lap_sync),
HCI_INIT(hci_clear_event_filter_sync),
HCI_INIT(hci_write_ca_timeout_sync),
HCI_INIT(hci_write_sync_flowctl_sync),
HCI_INIT(hci_read_local_cmds_sync),
HCI_INIT(hci_write_ssp_mode_1_sync),
HCI_INIT(hci_write_eir_sync),
HCI_INIT(hci_write_inquiry_mode_sync),
HCI_INIT(hci_read_inq_rsp_tx_power_sync),
HCI_INIT(hci_read_local_ext_features_1_sync),
HCI_INIT(hci_write_auth_enable_sync),
HCI_INIT(hci_le_read_local_features_sync),
HCI_INIT(hci_le_read_buffer_size_sync),
HCI_INIT(hci_le_read_supported_states_sync),
HCI_INIT(hci_set_event_mask_sync),
HCI_INIT(hci_read_stored_link_key_sync),
HCI_INIT(hci_setup_link_policy_sync),
HCI_INIT(hci_read_page_scan_activity_sync),
HCI_INIT(hci_read_def_err_data_reporting_sync),
HCI_INIT(hci_read_page_scan_type_sync),
HCI_INIT(hci_read_local_ext_features_all_sync),
HCI_INIT(hci_le_set_event_mask_sync),
HCI_INIT(hci_le_read_adv_tx_power_sync),
HCI_INIT(hci_le_read_tx_power_sync),
HCI_INIT(hci_le_read_accept_list_size_sync),
HCI_INIT(hci_le_clear_accept_list_sync),
HCI_INIT(hci_le_read_resolv_list_size_sync),
HCI_INIT(hci_le_clear_resolv_list_sync),
HCI_INIT(hci_le_set_rpa_timeout_sync),
HCI_INIT(hci_le_read_max_data_len_sync),
HCI_INIT(hci_le_read_def_data_len_sync),
HCI_INIT(hci_le_read_num_support_adv_sets_sync),
HCI_INIT(hci_set_le_support_sync),
HCI_INIT(hci_le_set_host_features_sync),
HCI_INIT(hci_delete_stored_link_key_sync),
HCI_INIT(hci_set_event_mask_page_2_sync),
HCI_INIT(hci_read_local_codecs_sync),
HCI_INIT(hci_read_local_pairing_opts_sync),
HCI_INIT(hci_get_mws_transport_config_sync),
HCI_INIT(hci_read_sync_train_params_sync),
HCI_INIT(hci_write_sc_support_1_sync),
HCI_INIT(hci_set_err_data_report_sync),
HCI_INIT(hci_le_set_write_def_data_len_sync),
HCI_INIT(hci_le_set_default_phy_sync),
set_bit(HCI_INIT, &hdev->flags);
clear_bit(HCI_INIT, &hdev->flags);
set_bit(HCI_INIT, &hdev->flags);
clear_bit(HCI_INIT, &hdev->flags);