Lines Matching refs:status
46 __u8 status = *((__u8 *) skb->data); in hci_cc_inquiry_cancel() local
48 BT_DBG("%s status 0x%2.2x", hdev->name, status); in hci_cc_inquiry_cancel()
50 if (status) in hci_cc_inquiry_cancel()
71 __u8 status = *((__u8 *) skb->data); in hci_cc_periodic_inq() local
73 BT_DBG("%s status 0x%2.2x", hdev->name, status); in hci_cc_periodic_inq()
75 if (status) in hci_cc_periodic_inq()
83 __u8 status = *((__u8 *) skb->data); in hci_cc_exit_periodic_inq() local
85 BT_DBG("%s status 0x%2.2x", hdev->name, status); in hci_cc_exit_periodic_inq()
87 if (status) in hci_cc_exit_periodic_inq()
106 BT_DBG("%s status 0x%2.2x", hdev->name, rp->status); in hci_cc_role_discovery()
108 if (rp->status) in hci_cc_role_discovery()
125 BT_DBG("%s status 0x%2.2x", hdev->name, rp->status); in hci_cc_read_link_policy()
127 if (rp->status) in hci_cc_read_link_policy()
145 BT_DBG("%s status 0x%2.2x", hdev->name, rp->status); in hci_cc_write_link_policy()
147 if (rp->status) in hci_cc_write_link_policy()
168 BT_DBG("%s status 0x%2.2x", hdev->name, rp->status); in hci_cc_read_def_link_policy()
170 if (rp->status) in hci_cc_read_def_link_policy()
179 __u8 status = *((__u8 *) skb->data); in hci_cc_write_def_link_policy() local
182 BT_DBG("%s status 0x%2.2x", hdev->name, status); in hci_cc_write_def_link_policy()
184 if (status) in hci_cc_write_def_link_policy()
196 __u8 status = *((__u8 *) skb->data); in hci_cc_reset() local
198 BT_DBG("%s status 0x%2.2x", hdev->name, status); in hci_cc_reset()
202 if (status) in hci_cc_reset()
232 BT_DBG("%s status 0x%2.2x", hdev->name, rp->status); in hci_cc_read_stored_link_key()
238 if (!rp->status && sent->read_all == 0x01) { in hci_cc_read_stored_link_key()
249 BT_DBG("%s status 0x%2.2x", hdev->name, rp->status); in hci_cc_delete_stored_link_key()
251 if (rp->status) in hci_cc_delete_stored_link_key()
262 __u8 status = *((__u8 *) skb->data); in hci_cc_write_local_name() local
265 BT_DBG("%s status 0x%2.2x", hdev->name, status); in hci_cc_write_local_name()
274 mgmt_set_local_name_complete(hdev, sent, status); in hci_cc_write_local_name()
275 else if (!status) in hci_cc_write_local_name()
285 BT_DBG("%s status 0x%2.2x", hdev->name, rp->status); in hci_cc_read_local_name()
287 if (rp->status) in hci_cc_read_local_name()
297 __u8 status = *((__u8 *) skb->data); in hci_cc_write_auth_enable() local
300 BT_DBG("%s status 0x%2.2x", hdev->name, status); in hci_cc_write_auth_enable()
308 if (!status) { in hci_cc_write_auth_enable()
318 mgmt_auth_enable_complete(hdev, status); in hci_cc_write_auth_enable()
325 __u8 status = *((__u8 *) skb->data); in hci_cc_write_encrypt_mode() local
329 BT_DBG("%s status 0x%2.2x", hdev->name, status); in hci_cc_write_encrypt_mode()
331 if (status) in hci_cc_write_encrypt_mode()
348 __u8 status = *((__u8 *) skb->data); in hci_cc_write_scan_enable() local
352 BT_DBG("%s status 0x%2.2x", hdev->name, status); in hci_cc_write_scan_enable()
362 if (status) { in hci_cc_write_scan_enable()
385 BT_DBG("%s status 0x%2.2x", hdev->name, rp->status); in hci_cc_read_class_of_dev()
387 if (rp->status) in hci_cc_read_class_of_dev()
398 __u8 status = *((__u8 *) skb->data); in hci_cc_write_class_of_dev() local
401 BT_DBG("%s status 0x%2.2x", hdev->name, status); in hci_cc_write_class_of_dev()
409 if (status == 0) in hci_cc_write_class_of_dev()
413 mgmt_set_class_of_dev_complete(hdev, sent, status); in hci_cc_write_class_of_dev()
423 BT_DBG("%s status 0x%2.2x", hdev->name, rp->status); in hci_cc_read_voice_setting()
425 if (rp->status) in hci_cc_read_voice_setting()
444 __u8 status = *((__u8 *) skb->data); in hci_cc_write_voice_setting() local
448 BT_DBG("%s status 0x%2.2x", hdev->name, status); in hci_cc_write_voice_setting()
450 if (status) in hci_cc_write_voice_setting()
475 BT_DBG("%s status 0x%2.2x", hdev->name, rp->status); in hci_cc_read_num_supported_iac()
477 if (rp->status) in hci_cc_read_num_supported_iac()
487 __u8 status = *((__u8 *) skb->data); in hci_cc_write_ssp_mode() local
490 BT_DBG("%s status 0x%2.2x", hdev->name, status); in hci_cc_write_ssp_mode()
498 if (!status) { in hci_cc_write_ssp_mode()
506 mgmt_ssp_enable_complete(hdev, sent->mode, status); in hci_cc_write_ssp_mode()
507 else if (!status) { in hci_cc_write_ssp_mode()
519 u8 status = *((u8 *) skb->data); in hci_cc_write_sc_support() local
522 BT_DBG("%s status 0x%2.2x", hdev->name, status); in hci_cc_write_sc_support()
530 if (!status) { in hci_cc_write_sc_support()
537 if (!hci_dev_test_flag(hdev, HCI_MGMT) && !status) { in hci_cc_write_sc_support()
551 BT_DBG("%s status 0x%2.2x", hdev->name, rp->status); in hci_cc_read_local_version()
553 if (rp->status) in hci_cc_read_local_version()
571 BT_DBG("%s status 0x%2.2x", hdev->name, rp->status); in hci_cc_read_local_commands()
573 if (rp->status) in hci_cc_read_local_commands()
586 BT_DBG("%s status 0x%2.2x", hdev->name, rp->status); in hci_cc_read_local_features()
588 if (rp->status) in hci_cc_read_local_features()
636 BT_DBG("%s status 0x%2.2x", hdev->name, rp->status); in hci_cc_read_local_ext_features()
638 if (rp->status) in hci_cc_read_local_ext_features()
653 BT_DBG("%s status 0x%2.2x", hdev->name, rp->status); in hci_cc_read_flow_control_mode()
655 if (rp->status) in hci_cc_read_flow_control_mode()
665 BT_DBG("%s status 0x%2.2x", hdev->name, rp->status); in hci_cc_read_buffer_size()
667 if (rp->status) in hci_cc_read_buffer_size()
691 BT_DBG("%s status 0x%2.2x", hdev->name, rp->status); in hci_cc_read_bd_addr()
693 if (rp->status) in hci_cc_read_bd_addr()
708 BT_DBG("%s status 0x%2.2x", hdev->name, rp->status); in hci_cc_read_page_scan_activity()
710 if (rp->status) in hci_cc_read_page_scan_activity()
722 u8 status = *((u8 *) skb->data); in hci_cc_write_page_scan_activity() local
725 BT_DBG("%s status 0x%2.2x", hdev->name, status); in hci_cc_write_page_scan_activity()
727 if (status) in hci_cc_write_page_scan_activity()
743 BT_DBG("%s status 0x%2.2x", hdev->name, rp->status); in hci_cc_read_page_scan_type()
745 if (rp->status) in hci_cc_read_page_scan_type()
755 u8 status = *((u8 *) skb->data); in hci_cc_write_page_scan_type() local
758 BT_DBG("%s status 0x%2.2x", hdev->name, status); in hci_cc_write_page_scan_type()
760 if (status) in hci_cc_write_page_scan_type()
773 BT_DBG("%s status 0x%2.2x", hdev->name, rp->status); in hci_cc_read_data_block_size()
775 if (rp->status) in hci_cc_read_data_block_size()
799 if (rp->status) in hci_cc_read_clock()
828 BT_DBG("%s status 0x%2.2x", hdev->name, rp->status); in hci_cc_read_local_amp_info()
830 if (rp->status) in hci_cc_read_local_amp_info()
850 BT_DBG("%s status 0x%2.2x", hdev->name, rp->status); in hci_cc_read_inq_rsp_tx_power()
852 if (rp->status) in hci_cc_read_inq_rsp_tx_power()
864 BT_DBG("%s status 0x%2.2x", hdev->name, rp->status); in hci_cc_pin_code_reply()
869 mgmt_pin_code_reply_complete(hdev, &rp->bdaddr, rp->status); in hci_cc_pin_code_reply()
871 if (rp->status) in hci_cc_pin_code_reply()
890 BT_DBG("%s status 0x%2.2x", hdev->name, rp->status); in hci_cc_pin_code_neg_reply()
896 rp->status); in hci_cc_pin_code_neg_reply()
906 BT_DBG("%s status 0x%2.2x", hdev->name, rp->status); in hci_cc_le_read_buffer_size()
908 if (rp->status) in hci_cc_le_read_buffer_size()
924 BT_DBG("%s status 0x%2.2x", hdev->name, rp->status); in hci_cc_le_read_local_features()
926 if (rp->status) in hci_cc_le_read_local_features()
937 BT_DBG("%s status 0x%2.2x", hdev->name, rp->status); in hci_cc_le_read_adv_tx_power()
939 if (rp->status) in hci_cc_le_read_adv_tx_power()
949 BT_DBG("%s status 0x%2.2x", hdev->name, rp->status); in hci_cc_user_confirm_reply()
955 rp->status); in hci_cc_user_confirm_reply()
965 BT_DBG("%s status 0x%2.2x", hdev->name, rp->status); in hci_cc_user_confirm_neg_reply()
971 ACL_LINK, 0, rp->status); in hci_cc_user_confirm_neg_reply()
980 BT_DBG("%s status 0x%2.2x", hdev->name, rp->status); in hci_cc_user_passkey_reply()
986 0, rp->status); in hci_cc_user_passkey_reply()
996 BT_DBG("%s status 0x%2.2x", hdev->name, rp->status); in hci_cc_user_passkey_neg_reply()
1002 ACL_LINK, 0, rp->status); in hci_cc_user_passkey_neg_reply()
1012 BT_DBG("%s status 0x%2.2x", hdev->name, rp->status); in hci_cc_read_local_oob_data()
1020 BT_DBG("%s status 0x%2.2x", hdev->name, rp->status); in hci_cc_read_local_oob_ext_data()
1025 __u8 status = *((__u8 *) skb->data); in hci_cc_le_set_random_addr() local
1028 BT_DBG("%s status 0x%2.2x", hdev->name, status); in hci_cc_le_set_random_addr()
1030 if (status) in hci_cc_le_set_random_addr()
1046 __u8 *sent, status = *((__u8 *) skb->data); in hci_cc_le_set_adv_enable() local
1048 BT_DBG("%s status 0x%2.2x", hdev->name, status); in hci_cc_le_set_adv_enable()
1050 if (status) in hci_cc_le_set_adv_enable()
1082 __u8 status = *((__u8 *) skb->data); in hci_cc_le_set_scan_param() local
1084 BT_DBG("%s status 0x%2.2x", hdev->name, status); in hci_cc_le_set_scan_param()
1086 if (status) in hci_cc_le_set_scan_param()
1133 __u8 status = *((__u8 *) skb->data); in hci_cc_le_set_scan_enable() local
1135 BT_DBG("%s status 0x%2.2x", hdev->name, status); in hci_cc_le_set_scan_enable()
1137 if (status) in hci_cc_le_set_scan_enable()
1203 BT_DBG("%s status 0x%2.2x size %u", hdev->name, rp->status, rp->size); in hci_cc_le_read_white_list_size()
1205 if (rp->status) in hci_cc_le_read_white_list_size()
1214 __u8 status = *((__u8 *) skb->data); in hci_cc_le_clear_white_list() local
1216 BT_DBG("%s status 0x%2.2x", hdev->name, status); in hci_cc_le_clear_white_list()
1218 if (status) in hci_cc_le_clear_white_list()
1228 __u8 status = *((__u8 *) skb->data); in hci_cc_le_add_to_white_list() local
1230 BT_DBG("%s status 0x%2.2x", hdev->name, status); in hci_cc_le_add_to_white_list()
1232 if (status) in hci_cc_le_add_to_white_list()
1247 __u8 status = *((__u8 *) skb->data); in hci_cc_le_del_from_white_list() local
1249 BT_DBG("%s status 0x%2.2x", hdev->name, status); in hci_cc_le_del_from_white_list()
1251 if (status) in hci_cc_le_del_from_white_list()
1267 BT_DBG("%s status 0x%2.2x", hdev->name, rp->status); in hci_cc_le_read_supported_states()
1269 if (rp->status) in hci_cc_le_read_supported_states()
1280 BT_DBG("%s status 0x%2.2x", hdev->name, rp->status); in hci_cc_le_read_def_data_len()
1282 if (rp->status) in hci_cc_le_read_def_data_len()
1293 __u8 status = *((__u8 *) skb->data); in hci_cc_le_write_def_data_len() local
1295 BT_DBG("%s status 0x%2.2x", hdev->name, status); in hci_cc_le_write_def_data_len()
1297 if (status) in hci_cc_le_write_def_data_len()
1313 BT_DBG("%s status 0x%2.2x", hdev->name, rp->status); in hci_cc_le_read_max_data_len()
1315 if (rp->status) in hci_cc_le_read_max_data_len()
1328 __u8 status = *((__u8 *) skb->data); in hci_cc_write_le_host_supported() local
1330 BT_DBG("%s status 0x%2.2x", hdev->name, status); in hci_cc_write_le_host_supported()
1332 if (status) in hci_cc_write_le_host_supported()
1361 u8 status = *((u8 *) skb->data); in hci_cc_set_adv_param() local
1363 BT_DBG("%s status 0x%2.2x", hdev->name, status); in hci_cc_set_adv_param()
1365 if (status) in hci_cc_set_adv_param()
1382 BT_DBG("%s status 0x%2.2x", hdev->name, rp->status); in hci_cc_read_rssi()
1384 if (rp->status) in hci_cc_read_rssi()
1402 BT_DBG("%s status 0x%2.2x", hdev->name, rp->status); in hci_cc_read_tx_power()
1404 if (rp->status) in hci_cc_read_tx_power()
1432 u8 status = *((u8 *) skb->data); in hci_cc_write_ssp_debug_mode() local
1435 BT_DBG("%s status 0x%2.2x", hdev->name, status); in hci_cc_write_ssp_debug_mode()
1437 if (status) in hci_cc_write_ssp_debug_mode()
1445 static void hci_cs_inquiry(struct hci_dev *hdev, __u8 status) in hci_cs_inquiry() argument
1447 BT_DBG("%s status 0x%2.2x", hdev->name, status); in hci_cs_inquiry()
1449 if (status) { in hci_cs_inquiry()
1457 static void hci_cs_create_conn(struct hci_dev *hdev, __u8 status) in hci_cs_create_conn() argument
1462 BT_DBG("%s status 0x%2.2x", hdev->name, status); in hci_cs_create_conn()
1474 if (status) { in hci_cs_create_conn()
1476 if (status != 0x0c || conn->attempt > 2) { in hci_cs_create_conn()
1478 hci_connect_cfm(conn, status); in hci_cs_create_conn()
1495 static void hci_cs_add_sco(struct hci_dev *hdev, __u8 status) in hci_cs_add_sco() argument
1501 BT_DBG("%s status 0x%2.2x", hdev->name, status); in hci_cs_add_sco()
1503 if (!status) in hci_cs_add_sco()
1522 hci_connect_cfm(sco, status); in hci_cs_add_sco()
1530 static void hci_cs_auth_requested(struct hci_dev *hdev, __u8 status) in hci_cs_auth_requested() argument
1535 BT_DBG("%s status 0x%2.2x", hdev->name, status); in hci_cs_auth_requested()
1537 if (!status) in hci_cs_auth_requested()
1549 hci_connect_cfm(conn, status); in hci_cs_auth_requested()
1557 static void hci_cs_set_conn_encrypt(struct hci_dev *hdev, __u8 status) in hci_cs_set_conn_encrypt() argument
1562 BT_DBG("%s status 0x%2.2x", hdev->name, status); in hci_cs_set_conn_encrypt()
1564 if (!status) in hci_cs_set_conn_encrypt()
1576 hci_connect_cfm(conn, status); in hci_cs_set_conn_encrypt()
1690 static void hci_cs_remote_name_req(struct hci_dev *hdev, __u8 status) in hci_cs_remote_name_req() argument
1695 BT_DBG("%s status 0x%2.2x", hdev->name, status); in hci_cs_remote_name_req()
1699 if (!status) in hci_cs_remote_name_req()
1733 static void hci_cs_read_remote_features(struct hci_dev *hdev, __u8 status) in hci_cs_read_remote_features() argument
1738 BT_DBG("%s status 0x%2.2x", hdev->name, status); in hci_cs_read_remote_features()
1740 if (!status) in hci_cs_read_remote_features()
1752 hci_connect_cfm(conn, status); in hci_cs_read_remote_features()
1760 static void hci_cs_read_remote_ext_features(struct hci_dev *hdev, __u8 status) in hci_cs_read_remote_ext_features() argument
1765 BT_DBG("%s status 0x%2.2x", hdev->name, status); in hci_cs_read_remote_ext_features()
1767 if (!status) in hci_cs_read_remote_ext_features()
1779 hci_connect_cfm(conn, status); in hci_cs_read_remote_ext_features()
1787 static void hci_cs_setup_sync_conn(struct hci_dev *hdev, __u8 status) in hci_cs_setup_sync_conn() argument
1793 BT_DBG("%s status 0x%2.2x", hdev->name, status); in hci_cs_setup_sync_conn()
1795 if (!status) in hci_cs_setup_sync_conn()
1814 hci_connect_cfm(sco, status); in hci_cs_setup_sync_conn()
1822 static void hci_cs_sniff_mode(struct hci_dev *hdev, __u8 status) in hci_cs_sniff_mode() argument
1827 BT_DBG("%s status 0x%2.2x", hdev->name, status); in hci_cs_sniff_mode()
1829 if (!status) in hci_cs_sniff_mode()
1843 hci_sco_setup(conn, status); in hci_cs_sniff_mode()
1849 static void hci_cs_exit_sniff_mode(struct hci_dev *hdev, __u8 status) in hci_cs_exit_sniff_mode() argument
1854 BT_DBG("%s status 0x%2.2x", hdev->name, status); in hci_cs_exit_sniff_mode()
1856 if (!status) in hci_cs_exit_sniff_mode()
1870 hci_sco_setup(conn, status); in hci_cs_exit_sniff_mode()
1876 static void hci_cs_disconnect(struct hci_dev *hdev, u8 status) in hci_cs_disconnect() argument
1881 if (!status) in hci_cs_disconnect()
1893 conn->dst_type, status); in hci_cs_disconnect()
1898 static void hci_cs_le_create_conn(struct hci_dev *hdev, u8 status) in hci_cs_le_create_conn() argument
1903 BT_DBG("%s status 0x%2.2x", hdev->name, status); in hci_cs_le_create_conn()
1909 if (status) in hci_cs_le_create_conn()
1950 static void hci_cs_le_read_remote_features(struct hci_dev *hdev, u8 status) in hci_cs_le_read_remote_features() argument
1955 BT_DBG("%s status 0x%2.2x", hdev->name, status); in hci_cs_le_read_remote_features()
1957 if (!status) in hci_cs_le_read_remote_features()
1969 hci_connect_cfm(conn, status); in hci_cs_le_read_remote_features()
1977 static void hci_cs_le_start_enc(struct hci_dev *hdev, u8 status) in hci_cs_le_start_enc() argument
1982 BT_DBG("%s status 0x%2.2x", hdev->name, status); in hci_cs_le_start_enc()
1984 if (!status) in hci_cs_le_start_enc()
2007 static void hci_cs_switch_role(struct hci_dev *hdev, u8 status) in hci_cs_switch_role() argument
2012 BT_DBG("%s status 0x%2.2x", hdev->name, status); in hci_cs_switch_role()
2014 if (!status) in hci_cs_switch_role()
2032 __u8 status = *((__u8 *) skb->data); in hci_inquiry_complete_evt() local
2036 BT_DBG("%s status 0x%2.2x", hdev->name, status); in hci_inquiry_complete_evt()
2148 if (!ev->status) { in hci_conn_complete_evt()
2194 conn->dst_type, ev->status); in hci_conn_complete_evt()
2198 hci_sco_setup(conn, ev->status); in hci_conn_complete_evt()
2200 if (ev->status) { in hci_conn_complete_evt()
2201 hci_connect_cfm(conn, ev->status); in hci_conn_complete_evt()
2204 hci_connect_cfm(conn, ev->status); in hci_conn_complete_evt()
2341 BT_DBG("%s status 0x%2.2x", hdev->name, ev->status); in hci_disconn_complete_evt()
2349 if (ev->status) { in hci_disconn_complete_evt()
2351 conn->dst_type, ev->status); in hci_disconn_complete_evt()
2415 BT_DBG("%s status 0x%2.2x", hdev->name, ev->status); in hci_auth_complete_evt()
2423 if (!ev->status) { in hci_auth_complete_evt()
2432 mgmt_auth_failed(conn, ev->status); in hci_auth_complete_evt()
2439 if (!ev->status && hci_conn_ssp_enabled(conn)) { in hci_auth_complete_evt()
2447 hci_connect_cfm(conn, ev->status); in hci_auth_complete_evt()
2451 hci_auth_cfm(conn, ev->status); in hci_auth_complete_evt()
2459 if (!ev->status) { in hci_auth_complete_evt()
2467 hci_encrypt_cfm(conn, ev->status, 0x00); in hci_auth_complete_evt()
2491 if (ev->status == 0) in hci_remote_name_evt()
2517 static void read_enc_key_size_complete(struct hci_dev *hdev, u8 status, in read_enc_key_size_complete() argument
2524 BT_DBG("%s status 0x%02x", hdev->name, status); in read_enc_key_size_complete()
2545 if (rp->status) { in read_enc_key_size_complete()
2579 BT_DBG("%s status 0x%2.2x", hdev->name, ev->status); in hci_encrypt_change_evt()
2587 if (!ev->status) { in hci_encrypt_change_evt()
2610 if (ev->status && conn->type == LE_LINK) in hci_encrypt_change_evt()
2615 if (ev->status && conn->state == BT_CONNECTED) { in hci_encrypt_change_evt()
2634 if (!ev->status && ev->encrypt && conn->type == ACL_LINK) { in hci_encrypt_change_evt()
2663 if (!ev->status) in hci_encrypt_change_evt()
2666 hci_connect_cfm(conn, ev->status); in hci_encrypt_change_evt()
2669 hci_encrypt_cfm(conn, ev->status, ev->encrypt); in hci_encrypt_change_evt()
2681 BT_DBG("%s status 0x%2.2x", hdev->name, ev->status); in hci_change_link_key_complete_evt()
2687 if (!ev->status) in hci_change_link_key_complete_evt()
2692 hci_key_change_cfm(conn, ev->status); in hci_change_link_key_complete_evt()
2704 BT_DBG("%s status 0x%2.2x", hdev->name, ev->status); in hci_remote_features_evt()
2712 if (!ev->status) in hci_remote_features_evt()
2718 if (!ev->status && lmp_ext_feat_capable(hdev) && in hci_remote_features_evt()
2728 if (!ev->status && !test_bit(HCI_CONN_MGMT_CONNECTED, &conn->flags)) { in hci_remote_features_evt()
2739 hci_connect_cfm(conn, ev->status); in hci_remote_features_evt()
2748 u16 *opcode, u8 *status, in hci_cmd_complete_evt() argument
2755 *status = skb->data[sizeof(*ev)]; in hci_cmd_complete_evt()
3039 hci_req_cmd_complete(hdev, *opcode, *status, req_complete, in hci_cmd_complete_evt()
3047 u16 *opcode, u8 *status, in hci_cmd_status_evt() argument
3056 *status = ev->status; in hci_cmd_status_evt()
3060 hci_cs_inquiry(hdev, ev->status); in hci_cmd_status_evt()
3064 hci_cs_create_conn(hdev, ev->status); in hci_cmd_status_evt()
3068 hci_cs_disconnect(hdev, ev->status); in hci_cmd_status_evt()
3072 hci_cs_add_sco(hdev, ev->status); in hci_cmd_status_evt()
3076 hci_cs_auth_requested(hdev, ev->status); in hci_cmd_status_evt()
3080 hci_cs_set_conn_encrypt(hdev, ev->status); in hci_cmd_status_evt()
3084 hci_cs_remote_name_req(hdev, ev->status); in hci_cmd_status_evt()
3088 hci_cs_read_remote_features(hdev, ev->status); in hci_cmd_status_evt()
3092 hci_cs_read_remote_ext_features(hdev, ev->status); in hci_cmd_status_evt()
3096 hci_cs_setup_sync_conn(hdev, ev->status); in hci_cmd_status_evt()
3100 hci_cs_sniff_mode(hdev, ev->status); in hci_cmd_status_evt()
3104 hci_cs_exit_sniff_mode(hdev, ev->status); in hci_cmd_status_evt()
3108 hci_cs_switch_role(hdev, ev->status); in hci_cmd_status_evt()
3112 hci_cs_le_create_conn(hdev, ev->status); in hci_cmd_status_evt()
3116 hci_cs_le_read_remote_features(hdev, ev->status); in hci_cmd_status_evt()
3120 hci_cs_le_start_enc(hdev, ev->status); in hci_cmd_status_evt()
3140 if (ev->status || in hci_cmd_status_evt()
3142 hci_req_cmd_complete(hdev, *opcode, ev->status, req_complete, in hci_cmd_status_evt()
3163 BT_DBG("%s status 0x%2.2x", hdev->name, ev->status); in hci_role_change_evt()
3169 if (!ev->status) in hci_role_change_evt()
3174 hci_role_switch_cfm(conn, ev->status, ev->role); in hci_role_change_evt()
3322 BT_DBG("%s status 0x%2.2x", hdev->name, ev->status); in hci_mode_change_evt()
3339 hci_sco_setup(conn, ev->status); in hci_mode_change_evt()
3540 BT_DBG("%s status 0x%2.2x", hdev->name, ev->status); in hci_clock_offset_evt()
3545 if (conn && !ev->status) { in hci_clock_offset_evt()
3563 BT_DBG("%s status 0x%2.2x", hdev->name, ev->status); in hci_pkt_type_change_evt()
3568 if (conn && !ev->status) in hci_pkt_type_change_evt()
3673 if (!ev->status && ev->page == 0x01) { in hci_remote_ext_features_evt()
3701 if (!ev->status && !test_bit(HCI_CONN_MGMT_CONNECTED, &conn->flags)) { in hci_remote_ext_features_evt()
3712 hci_connect_cfm(conn, ev->status); in hci_remote_ext_features_evt()
3726 BT_DBG("%s status 0x%2.2x", hdev->name, ev->status); in hci_sync_conn_complete_evt()
3749 switch (ev->status) { in hci_sync_conn_complete_evt()
3779 hci_connect_cfm(conn, ev->status); in hci_sync_conn_complete_evt()
3780 if (ev->status) in hci_sync_conn_complete_evt()
3860 BT_DBG("%s status 0x%2.2x handle 0x%4.4x", hdev->name, ev->status, in hci_key_refresh_complete_evt()
3875 if (!ev->status) in hci_key_refresh_complete_evt()
3880 if (ev->status && conn->state == BT_CONNECTED) { in hci_key_refresh_complete_evt()
3887 if (!ev->status) in hci_key_refresh_complete_evt()
3890 hci_connect_cfm(conn, ev->status); in hci_key_refresh_complete_evt()
3893 hci_auth_cfm(conn, ev->status); in hci_key_refresh_complete_evt()
4220 if (!test_bit(HCI_CONN_AUTH_PEND, &conn->flags) && ev->status) in hci_simple_pair_complete_evt()
4221 mgmt_auth_failed(conn, ev->status); in hci_simple_pair_complete_evt()
4329 ev->status); in hci_phy_link_complete_evt()
4339 if (ev->status) { in hci_phy_link_complete_evt()
4371 ev->status); in hci_loglink_complete_evt()
4407 le16_to_cpu(ev->handle), ev->status); in hci_disconn_loglink_complete_evt()
4409 if (ev->status) in hci_disconn_loglink_complete_evt()
4430 BT_DBG("%s status 0x%2.2x", hdev->name, ev->status); in hci_disconn_phylink_complete_evt()
4432 if (ev->status) in hci_disconn_phylink_complete_evt()
4455 BT_DBG("%s status 0x%2.2x", hdev->name, ev->status); in hci_le_conn_complete_evt()
4535 if (ev->status) { in hci_le_conn_complete_evt()
4536 hci_le_conn_failed(conn, ev->status); in hci_le_conn_complete_evt()
4565 if (!ev->status) { in hci_le_conn_complete_evt()
4587 hci_connect_cfm(conn, ev->status); in hci_le_conn_complete_evt()
4590 hci_connect_cfm(conn, ev->status); in hci_le_conn_complete_evt()
4615 BT_DBG("%s status 0x%2.2x", hdev->name, ev->status); in hci_le_conn_update_complete_evt()
4617 if (ev->status) in hci_le_conn_update_complete_evt()
4927 BT_DBG("%s status 0x%2.2x", hdev->name, ev->status); in hci_le_remote_feat_complete_evt()
4933 if (!ev->status) in hci_le_remote_feat_complete_evt()
4937 __u8 status; in hci_le_remote_feat_complete_evt() local
4949 !conn->out && ev->status == 0x1a) in hci_le_remote_feat_complete_evt()
4950 status = 0x00; in hci_le_remote_feat_complete_evt()
4952 status = ev->status; in hci_le_remote_feat_complete_evt()
4955 hci_connect_cfm(conn, status); in hci_le_remote_feat_complete_evt()
5209 u8 status = 0, event = hdr->evt, req_evt = 0; in hci_event_packet() local
5215 hci_req_cmd_complete(hdev, opcode, status, &req_complete, in hci_event_packet()
5273 hci_cmd_complete_evt(hdev, skb, &opcode, &status, in hci_event_packet()
5278 hci_cmd_status_evt(hdev, skb, &opcode, &status, &req_complete, in hci_event_packet()
5414 req_complete(hdev, status, opcode); in hci_event_packet()
5420 req_complete_skb(hdev, status, opcode, orig_skb); in hci_event_packet()