Lines Matching full:status
90 bt_dev_dbg(hdev, "status 0x%2.2x", rp->status); in hci_cc_inquiry_cancel()
94 * which case the latter event should have status of Command in hci_cc_inquiry_cancel()
99 if (rp->status == HCI_ERROR_COMMAND_DISALLOWED && !test_bit(HCI_INQUIRY, &hdev->flags)) { in hci_cc_inquiry_cancel()
101 rp->status = 0x00; in hci_cc_inquiry_cancel()
104 if (rp->status) in hci_cc_inquiry_cancel()
105 return rp->status; in hci_cc_inquiry_cancel()
120 return rp->status; in hci_cc_inquiry_cancel()
128 bt_dev_dbg(hdev, "status 0x%2.2x", rp->status); in hci_cc_periodic_inq()
130 if (rp->status) in hci_cc_periodic_inq()
131 return rp->status; in hci_cc_periodic_inq()
135 return rp->status; in hci_cc_periodic_inq()
143 bt_dev_dbg(hdev, "status 0x%2.2x", rp->status); in hci_cc_exit_periodic_inq()
145 if (rp->status) in hci_cc_exit_periodic_inq()
146 return rp->status; in hci_cc_exit_periodic_inq()
150 return rp->status; in hci_cc_exit_periodic_inq()
158 bt_dev_dbg(hdev, "status 0x%2.2x", rp->status); in hci_cc_remote_name_req_cancel()
160 return rp->status; in hci_cc_remote_name_req_cancel()
169 bt_dev_dbg(hdev, "status 0x%2.2x", rp->status); in hci_cc_role_discovery()
171 if (rp->status) in hci_cc_role_discovery()
172 return rp->status; in hci_cc_role_discovery()
182 return rp->status; in hci_cc_role_discovery()
191 bt_dev_dbg(hdev, "status 0x%2.2x", rp->status); in hci_cc_read_link_policy()
193 if (rp->status) in hci_cc_read_link_policy()
194 return rp->status; in hci_cc_read_link_policy()
204 return rp->status; in hci_cc_read_link_policy()
214 bt_dev_dbg(hdev, "status 0x%2.2x", rp->status); in hci_cc_write_link_policy()
216 if (rp->status) in hci_cc_write_link_policy()
217 return rp->status; in hci_cc_write_link_policy()
221 return rp->status; in hci_cc_write_link_policy()
231 return rp->status; in hci_cc_write_link_policy()
239 bt_dev_dbg(hdev, "status 0x%2.2x", rp->status); in hci_cc_read_def_link_policy()
241 if (rp->status) in hci_cc_read_def_link_policy()
242 return rp->status; in hci_cc_read_def_link_policy()
246 return rp->status; in hci_cc_read_def_link_policy()
255 bt_dev_dbg(hdev, "status 0x%2.2x", rp->status); in hci_cc_write_def_link_policy()
257 if (rp->status) in hci_cc_write_def_link_policy()
258 return rp->status; in hci_cc_write_def_link_policy()
262 return rp->status; in hci_cc_write_def_link_policy()
266 return rp->status; in hci_cc_write_def_link_policy()
273 bt_dev_dbg(hdev, "status 0x%2.2x", rp->status); in hci_cc_reset()
277 if (rp->status) in hci_cc_reset()
278 return rp->status; in hci_cc_reset()
301 return rp->status; in hci_cc_reset()
310 bt_dev_dbg(hdev, "status 0x%2.2x", rp->status); in hci_cc_read_stored_link_key()
314 return rp->status; in hci_cc_read_stored_link_key()
316 if (!rp->status && sent->read_all == 0x01) { in hci_cc_read_stored_link_key()
321 return rp->status; in hci_cc_read_stored_link_key()
330 bt_dev_dbg(hdev, "status 0x%2.2x", rp->status); in hci_cc_delete_stored_link_key()
332 if (rp->status) in hci_cc_delete_stored_link_key()
333 return rp->status; in hci_cc_delete_stored_link_key()
342 return rp->status; in hci_cc_delete_stored_link_key()
351 bt_dev_dbg(hdev, "status 0x%2.2x", rp->status); in hci_cc_write_local_name()
355 return rp->status; in hci_cc_write_local_name()
360 mgmt_set_local_name_complete(hdev, sent, rp->status); in hci_cc_write_local_name()
361 else if (!rp->status) in hci_cc_write_local_name()
366 return rp->status; in hci_cc_write_local_name()
374 bt_dev_dbg(hdev, "status 0x%2.2x", rp->status); in hci_cc_read_local_name()
376 if (rp->status) in hci_cc_read_local_name()
377 return rp->status; in hci_cc_read_local_name()
383 return rp->status; in hci_cc_read_local_name()
392 bt_dev_dbg(hdev, "status 0x%2.2x", rp->status); in hci_cc_write_auth_enable()
396 return rp->status; in hci_cc_write_auth_enable()
400 if (!rp->status) { in hci_cc_write_auth_enable()
410 mgmt_auth_enable_complete(hdev, rp->status); in hci_cc_write_auth_enable()
414 return rp->status; in hci_cc_write_auth_enable()
424 bt_dev_dbg(hdev, "status 0x%2.2x", rp->status); in hci_cc_write_encrypt_mode()
426 if (rp->status) in hci_cc_write_encrypt_mode()
427 return rp->status; in hci_cc_write_encrypt_mode()
431 return rp->status; in hci_cc_write_encrypt_mode()
440 return rp->status; in hci_cc_write_encrypt_mode()
450 bt_dev_dbg(hdev, "status 0x%2.2x", rp->status); in hci_cc_write_scan_enable()
454 return rp->status; in hci_cc_write_scan_enable()
460 if (rp->status) { in hci_cc_write_scan_enable()
478 return rp->status; in hci_cc_write_scan_enable()
488 bt_dev_dbg(hdev, "status 0x%2.2x", rp->status); in hci_cc_set_event_filter()
490 if (rp->status) in hci_cc_set_event_filter()
491 return rp->status; in hci_cc_set_event_filter()
495 return rp->status; in hci_cc_set_event_filter()
504 return rp->status; in hci_cc_set_event_filter()
515 bt_dev_dbg(hdev, "status 0x%2.2x", rp->status); in hci_cc_read_class_of_dev()
517 if (rp->status) in hci_cc_read_class_of_dev()
518 return rp->status; in hci_cc_read_class_of_dev()
525 return rp->status; in hci_cc_read_class_of_dev()
534 bt_dev_dbg(hdev, "status 0x%2.2x", rp->status); in hci_cc_write_class_of_dev()
538 return rp->status; in hci_cc_write_class_of_dev()
542 if (!rp->status) in hci_cc_write_class_of_dev()
546 mgmt_set_class_of_dev_complete(hdev, sent, rp->status); in hci_cc_write_class_of_dev()
550 return rp->status; in hci_cc_write_class_of_dev()
559 bt_dev_dbg(hdev, "status 0x%2.2x", rp->status); in hci_cc_read_voice_setting()
561 if (rp->status) in hci_cc_read_voice_setting()
562 return rp->status; in hci_cc_read_voice_setting()
567 return rp->status; in hci_cc_read_voice_setting()
576 return rp->status; in hci_cc_read_voice_setting()
586 bt_dev_dbg(hdev, "status 0x%2.2x", rp->status); in hci_cc_write_voice_setting()
588 if (rp->status) in hci_cc_write_voice_setting()
589 return rp->status; in hci_cc_write_voice_setting()
593 return rp->status; in hci_cc_write_voice_setting()
598 return rp->status; in hci_cc_write_voice_setting()
607 return rp->status; in hci_cc_write_voice_setting()
615 bt_dev_dbg(hdev, "status 0x%2.2x", rp->status); in hci_cc_read_num_supported_iac()
617 if (rp->status) in hci_cc_read_num_supported_iac()
618 return rp->status; in hci_cc_read_num_supported_iac()
624 return rp->status; in hci_cc_read_num_supported_iac()
633 bt_dev_dbg(hdev, "status 0x%2.2x", rp->status); in hci_cc_write_ssp_mode()
637 return rp->status; in hci_cc_write_ssp_mode()
641 if (!rp->status) { in hci_cc_write_ssp_mode()
648 if (!rp->status) { in hci_cc_write_ssp_mode()
657 return rp->status; in hci_cc_write_ssp_mode()
666 bt_dev_dbg(hdev, "status 0x%2.2x", rp->status); in hci_cc_write_sc_support()
670 return rp->status; in hci_cc_write_sc_support()
674 if (!rp->status) { in hci_cc_write_sc_support()
681 if (!hci_dev_test_flag(hdev, HCI_MGMT) && !rp->status) { in hci_cc_write_sc_support()
690 return rp->status; in hci_cc_write_sc_support()
698 bt_dev_dbg(hdev, "status 0x%2.2x", rp->status); in hci_cc_read_local_version()
700 if (rp->status) in hci_cc_read_local_version()
701 return rp->status; in hci_cc_read_local_version()
712 return rp->status; in hci_cc_read_local_version()
721 u8 status = rp->status; in hci_cc_read_enc_key_size() local
723 bt_dev_dbg(hdev, "status 0x%2.2x", status); in hci_cc_read_enc_key_size()
731 status = 0xFF; in hci_cc_read_enc_key_size()
739 if (status) { in hci_cc_read_enc_key_size()
745 status = 0; in hci_cc_read_enc_key_size()
751 * nothing with the non-zero status. in hci_cc_read_enc_key_size()
756 status = HCI_ERROR_AUTH_FAILURE; in hci_cc_read_enc_key_size()
762 hci_encrypt_cfm(conn, status); in hci_cc_read_enc_key_size()
767 return status; in hci_cc_read_enc_key_size()
775 bt_dev_dbg(hdev, "status 0x%2.2x", rp->status); in hci_cc_read_local_commands()
777 if (rp->status) in hci_cc_read_local_commands()
778 return rp->status; in hci_cc_read_local_commands()
784 return rp->status; in hci_cc_read_local_commands()
793 bt_dev_dbg(hdev, "status 0x%2.2x", rp->status); in hci_cc_read_auth_payload_timeout()
795 if (rp->status) in hci_cc_read_auth_payload_timeout()
796 return rp->status; in hci_cc_read_auth_payload_timeout()
806 return rp->status; in hci_cc_read_auth_payload_timeout()
816 bt_dev_dbg(hdev, "status 0x%2.2x", rp->status); in hci_cc_write_auth_payload_timeout()
820 return rp->status; in hci_cc_write_auth_payload_timeout()
826 rp->status = 0xff; in hci_cc_write_auth_payload_timeout()
830 if (!rp->status) in hci_cc_write_auth_payload_timeout()
836 return rp->status; in hci_cc_write_auth_payload_timeout()
844 bt_dev_dbg(hdev, "status 0x%2.2x", rp->status); in hci_cc_read_local_features()
846 if (rp->status) in hci_cc_read_local_features()
847 return rp->status; in hci_cc_read_local_features()
888 return rp->status; in hci_cc_read_local_features()
896 bt_dev_dbg(hdev, "status 0x%2.2x", rp->status); in hci_cc_read_local_ext_features()
898 if (rp->status) in hci_cc_read_local_ext_features()
899 return rp->status; in hci_cc_read_local_ext_features()
912 return rp->status; in hci_cc_read_local_ext_features()
920 bt_dev_dbg(hdev, "status 0x%2.2x", rp->status); in hci_cc_read_buffer_size()
922 if (rp->status) in hci_cc_read_buffer_size()
923 return rp->status; in hci_cc_read_buffer_size()
944 return rp->status; in hci_cc_read_buffer_size()
952 bt_dev_dbg(hdev, "status 0x%2.2x", rp->status); in hci_cc_read_bd_addr()
954 if (rp->status) in hci_cc_read_bd_addr()
955 return rp->status; in hci_cc_read_bd_addr()
963 return rp->status; in hci_cc_read_bd_addr()
971 bt_dev_dbg(hdev, "status 0x%2.2x", rp->status); in hci_cc_read_local_pairing_opts()
973 if (rp->status) in hci_cc_read_local_pairing_opts()
974 return rp->status; in hci_cc_read_local_pairing_opts()
982 return rp->status; in hci_cc_read_local_pairing_opts()
990 bt_dev_dbg(hdev, "status 0x%2.2x", rp->status); in hci_cc_read_page_scan_activity()
992 if (rp->status) in hci_cc_read_page_scan_activity()
993 return rp->status; in hci_cc_read_page_scan_activity()
1000 return rp->status; in hci_cc_read_page_scan_activity()
1009 bt_dev_dbg(hdev, "status 0x%2.2x", rp->status); in hci_cc_write_page_scan_activity()
1011 if (rp->status) in hci_cc_write_page_scan_activity()
1012 return rp->status; in hci_cc_write_page_scan_activity()
1016 return rp->status; in hci_cc_write_page_scan_activity()
1021 return rp->status; in hci_cc_write_page_scan_activity()
1029 bt_dev_dbg(hdev, "status 0x%2.2x", rp->status); in hci_cc_read_page_scan_type()
1031 if (rp->status) in hci_cc_read_page_scan_type()
1032 return rp->status; in hci_cc_read_page_scan_type()
1037 return rp->status; in hci_cc_read_page_scan_type()
1046 bt_dev_dbg(hdev, "status 0x%2.2x", rp->status); in hci_cc_write_page_scan_type()
1048 if (rp->status) in hci_cc_write_page_scan_type()
1049 return rp->status; in hci_cc_write_page_scan_type()
1055 return rp->status; in hci_cc_write_page_scan_type()
1065 bt_dev_dbg(hdev, "status 0x%2.2x", rp->status); in hci_cc_read_clock()
1067 if (rp->status) in hci_cc_read_clock()
1068 return rp->status; in hci_cc_read_clock()
1089 return rp->status; in hci_cc_read_clock()
1097 bt_dev_dbg(hdev, "status 0x%2.2x", rp->status); in hci_cc_read_inq_rsp_tx_power()
1099 if (rp->status) in hci_cc_read_inq_rsp_tx_power()
1100 return rp->status; in hci_cc_read_inq_rsp_tx_power()
1104 return rp->status; in hci_cc_read_inq_rsp_tx_power()
1112 bt_dev_dbg(hdev, "status 0x%2.2x", rp->status); in hci_cc_read_def_err_data_reporting()
1114 if (rp->status) in hci_cc_read_def_err_data_reporting()
1115 return rp->status; in hci_cc_read_def_err_data_reporting()
1119 return rp->status; in hci_cc_read_def_err_data_reporting()
1128 bt_dev_dbg(hdev, "status 0x%2.2x", rp->status); in hci_cc_write_def_err_data_reporting()
1130 if (rp->status) in hci_cc_write_def_err_data_reporting()
1131 return rp->status; in hci_cc_write_def_err_data_reporting()
1135 return rp->status; in hci_cc_write_def_err_data_reporting()
1139 return rp->status; in hci_cc_write_def_err_data_reporting()
1149 bt_dev_dbg(hdev, "status 0x%2.2x", rp->status); in hci_cc_pin_code_reply()
1154 mgmt_pin_code_reply_complete(hdev, &rp->bdaddr, rp->status); in hci_cc_pin_code_reply()
1156 if (rp->status) in hci_cc_pin_code_reply()
1169 return rp->status; in hci_cc_pin_code_reply()
1177 bt_dev_dbg(hdev, "status 0x%2.2x", rp->status); in hci_cc_pin_code_neg_reply()
1183 rp->status); in hci_cc_pin_code_neg_reply()
1187 return rp->status; in hci_cc_pin_code_neg_reply()
1195 bt_dev_dbg(hdev, "status 0x%2.2x", rp->status); in hci_cc_le_read_buffer_size()
1197 if (rp->status) in hci_cc_le_read_buffer_size()
1198 return rp->status; in hci_cc_le_read_buffer_size()
1210 return rp->status; in hci_cc_le_read_buffer_size()
1218 BT_DBG("%s status 0x%2.2x", hdev->name, rp->status); in hci_cc_le_read_local_features()
1220 if (rp->status) in hci_cc_le_read_local_features()
1221 return rp->status; in hci_cc_le_read_local_features()
1225 return rp->status; in hci_cc_le_read_local_features()
1233 bt_dev_dbg(hdev, "status 0x%2.2x", rp->status); in hci_cc_le_read_adv_tx_power()
1235 if (rp->status) in hci_cc_le_read_adv_tx_power()
1236 return rp->status; in hci_cc_le_read_adv_tx_power()
1240 return rp->status; in hci_cc_le_read_adv_tx_power()
1248 bt_dev_dbg(hdev, "status 0x%2.2x", rp->status); in hci_cc_user_confirm_reply()
1254 rp->status); in hci_cc_user_confirm_reply()
1258 return rp->status; in hci_cc_user_confirm_reply()
1266 bt_dev_dbg(hdev, "status 0x%2.2x", rp->status); in hci_cc_user_confirm_neg_reply()
1272 ACL_LINK, 0, rp->status); in hci_cc_user_confirm_neg_reply()
1276 return rp->status; in hci_cc_user_confirm_neg_reply()
1284 bt_dev_dbg(hdev, "status 0x%2.2x", rp->status); in hci_cc_user_passkey_reply()
1290 0, rp->status); in hci_cc_user_passkey_reply()
1294 return rp->status; in hci_cc_user_passkey_reply()
1302 bt_dev_dbg(hdev, "status 0x%2.2x", rp->status); in hci_cc_user_passkey_neg_reply()
1308 ACL_LINK, 0, rp->status); in hci_cc_user_passkey_neg_reply()
1312 return rp->status; in hci_cc_user_passkey_neg_reply()
1320 bt_dev_dbg(hdev, "status 0x%2.2x", rp->status); in hci_cc_read_local_oob_data()
1322 return rp->status; in hci_cc_read_local_oob_data()
1330 bt_dev_dbg(hdev, "status 0x%2.2x", rp->status); in hci_cc_read_local_oob_ext_data()
1332 return rp->status; in hci_cc_read_local_oob_ext_data()
1341 bt_dev_dbg(hdev, "status 0x%2.2x", rp->status); in hci_cc_le_set_random_addr()
1343 if (rp->status) in hci_cc_le_set_random_addr()
1344 return rp->status; in hci_cc_le_set_random_addr()
1348 return rp->status; in hci_cc_le_set_random_addr()
1362 return rp->status; in hci_cc_le_set_random_addr()
1371 bt_dev_dbg(hdev, "status 0x%2.2x", rp->status); in hci_cc_le_set_default_phy()
1373 if (rp->status) in hci_cc_le_set_default_phy()
1374 return rp->status; in hci_cc_le_set_default_phy()
1378 return rp->status; in hci_cc_le_set_default_phy()
1387 return rp->status; in hci_cc_le_set_default_phy()
1397 bt_dev_dbg(hdev, "status 0x%2.2x", rp->status); in hci_cc_le_set_adv_set_random_addr()
1399 if (rp->status) in hci_cc_le_set_adv_set_random_addr()
1400 return rp->status; in hci_cc_le_set_adv_set_random_addr()
1408 return rp->status; in hci_cc_le_set_adv_set_random_addr()
1425 return rp->status; in hci_cc_le_set_adv_set_random_addr()
1435 bt_dev_dbg(hdev, "status 0x%2.2x", rp->status); in hci_cc_le_remove_adv_set()
1437 if (rp->status) in hci_cc_le_remove_adv_set()
1438 return rp->status; in hci_cc_le_remove_adv_set()
1442 return rp->status; in hci_cc_le_remove_adv_set()
1453 return rp->status; in hci_cc_le_remove_adv_set()
1463 bt_dev_dbg(hdev, "status 0x%2.2x", rp->status); in hci_cc_le_clear_adv_sets()
1465 if (rp->status) in hci_cc_le_clear_adv_sets()
1466 return rp->status; in hci_cc_le_clear_adv_sets()
1469 return rp->status; in hci_cc_le_clear_adv_sets()
1484 return rp->status; in hci_cc_le_clear_adv_sets()
1492 bt_dev_dbg(hdev, "status 0x%2.2x", rp->status); in hci_cc_le_read_transmit_power()
1494 if (rp->status) in hci_cc_le_read_transmit_power()
1495 return rp->status; in hci_cc_le_read_transmit_power()
1500 return rp->status; in hci_cc_le_read_transmit_power()
1510 bt_dev_dbg(hdev, "status 0x%2.2x", rp->status); in hci_cc_le_set_privacy_mode()
1512 if (rp->status) in hci_cc_le_set_privacy_mode()
1513 return rp->status; in hci_cc_le_set_privacy_mode()
1517 return rp->status; in hci_cc_le_set_privacy_mode()
1527 return rp->status; in hci_cc_le_set_privacy_mode()
1536 bt_dev_dbg(hdev, "status 0x%2.2x", rp->status); in hci_cc_le_set_adv_enable()
1538 if (rp->status) in hci_cc_le_set_adv_enable()
1539 return rp->status; in hci_cc_le_set_adv_enable()
1543 return rp->status; in hci_cc_le_set_adv_enable()
1566 return rp->status; in hci_cc_le_set_adv_enable()
1577 bt_dev_dbg(hdev, "status 0x%2.2x", rp->status); in hci_cc_le_set_ext_adv_enable()
1579 if (rp->status) in hci_cc_le_set_ext_adv_enable()
1580 return rp->status; in hci_cc_le_set_ext_adv_enable()
1584 return rp->status; in hci_cc_le_set_ext_adv_enable()
1631 return rp->status; in hci_cc_le_set_ext_adv_enable()
1640 bt_dev_dbg(hdev, "status 0x%2.2x", rp->status); in hci_cc_le_set_scan_param()
1642 if (rp->status) in hci_cc_le_set_scan_param()
1643 return rp->status; in hci_cc_le_set_scan_param()
1647 return rp->status; in hci_cc_le_set_scan_param()
1655 return rp->status; in hci_cc_le_set_scan_param()
1665 bt_dev_dbg(hdev, "status 0x%2.2x", rp->status); in hci_cc_le_set_ext_scan_param()
1667 if (rp->status) in hci_cc_le_set_ext_scan_param()
1668 return rp->status; in hci_cc_le_set_ext_scan_param()
1672 return rp->status; in hci_cc_le_set_ext_scan_param()
1682 return rp->status; in hci_cc_le_set_ext_scan_param()
1779 bt_dev_dbg(hdev, "status 0x%2.2x", rp->status); in hci_cc_le_set_scan_enable()
1781 if (rp->status) in hci_cc_le_set_scan_enable()
1782 return rp->status; in hci_cc_le_set_scan_enable()
1786 return rp->status; in hci_cc_le_set_scan_enable()
1790 return rp->status; in hci_cc_le_set_scan_enable()
1799 bt_dev_dbg(hdev, "status 0x%2.2x", rp->status); in hci_cc_le_set_ext_scan_enable()
1801 if (rp->status) in hci_cc_le_set_ext_scan_enable()
1802 return rp->status; in hci_cc_le_set_ext_scan_enable()
1806 return rp->status; in hci_cc_le_set_ext_scan_enable()
1810 return rp->status; in hci_cc_le_set_ext_scan_enable()
1818 bt_dev_dbg(hdev, "status 0x%2.2x No of Adv sets %u", rp->status, in hci_cc_le_read_num_adv_sets()
1821 if (rp->status) in hci_cc_le_read_num_adv_sets()
1822 return rp->status; in hci_cc_le_read_num_adv_sets()
1826 return rp->status; in hci_cc_le_read_num_adv_sets()
1834 bt_dev_dbg(hdev, "status 0x%2.2x size %u", rp->status, rp->size); in hci_cc_le_read_accept_list_size()
1836 if (rp->status) in hci_cc_le_read_accept_list_size()
1837 return rp->status; in hci_cc_le_read_accept_list_size()
1841 return rp->status; in hci_cc_le_read_accept_list_size()
1849 bt_dev_dbg(hdev, "status 0x%2.2x", rp->status); in hci_cc_le_clear_accept_list()
1851 if (rp->status) in hci_cc_le_clear_accept_list()
1852 return rp->status; in hci_cc_le_clear_accept_list()
1858 return rp->status; in hci_cc_le_clear_accept_list()
1867 bt_dev_dbg(hdev, "status 0x%2.2x", rp->status); in hci_cc_le_add_to_accept_list()
1869 if (rp->status) in hci_cc_le_add_to_accept_list()
1870 return rp->status; in hci_cc_le_add_to_accept_list()
1874 return rp->status; in hci_cc_le_add_to_accept_list()
1881 return rp->status; in hci_cc_le_add_to_accept_list()
1890 bt_dev_dbg(hdev, "status 0x%2.2x", rp->status); in hci_cc_le_del_from_accept_list()
1892 if (rp->status) in hci_cc_le_del_from_accept_list()
1893 return rp->status; in hci_cc_le_del_from_accept_list()
1897 return rp->status; in hci_cc_le_del_from_accept_list()
1904 return rp->status; in hci_cc_le_del_from_accept_list()
1912 bt_dev_dbg(hdev, "status 0x%2.2x", rp->status); in hci_cc_le_read_supported_states()
1914 if (rp->status) in hci_cc_le_read_supported_states()
1915 return rp->status; in hci_cc_le_read_supported_states()
1919 return rp->status; in hci_cc_le_read_supported_states()
1927 bt_dev_dbg(hdev, "status 0x%2.2x", rp->status); in hci_cc_le_read_def_data_len()
1929 if (rp->status) in hci_cc_le_read_def_data_len()
1930 return rp->status; in hci_cc_le_read_def_data_len()
1935 return rp->status; in hci_cc_le_read_def_data_len()
1944 bt_dev_dbg(hdev, "status 0x%2.2x", rp->status); in hci_cc_le_write_def_data_len()
1946 if (rp->status) in hci_cc_le_write_def_data_len()
1947 return rp->status; in hci_cc_le_write_def_data_len()
1951 return rp->status; in hci_cc_le_write_def_data_len()
1956 return rp->status; in hci_cc_le_write_def_data_len()
1965 bt_dev_dbg(hdev, "status 0x%2.2x", rp->status); in hci_cc_le_add_to_resolv_list()
1967 if (rp->status) in hci_cc_le_add_to_resolv_list()
1968 return rp->status; in hci_cc_le_add_to_resolv_list()
1972 return rp->status; in hci_cc_le_add_to_resolv_list()
1980 return rp->status; in hci_cc_le_add_to_resolv_list()
1989 bt_dev_dbg(hdev, "status 0x%2.2x", rp->status); in hci_cc_le_del_from_resolv_list()
1991 if (rp->status) in hci_cc_le_del_from_resolv_list()
1992 return rp->status; in hci_cc_le_del_from_resolv_list()
1996 return rp->status; in hci_cc_le_del_from_resolv_list()
2003 return rp->status; in hci_cc_le_del_from_resolv_list()
2011 bt_dev_dbg(hdev, "status 0x%2.2x", rp->status); in hci_cc_le_clear_resolv_list()
2013 if (rp->status) in hci_cc_le_clear_resolv_list()
2014 return rp->status; in hci_cc_le_clear_resolv_list()
2020 return rp->status; in hci_cc_le_clear_resolv_list()
2028 bt_dev_dbg(hdev, "status 0x%2.2x size %u", rp->status, rp->size); in hci_cc_le_read_resolv_list_size()
2030 if (rp->status) in hci_cc_le_read_resolv_list_size()
2031 return rp->status; in hci_cc_le_read_resolv_list_size()
2035 return rp->status; in hci_cc_le_read_resolv_list_size()
2044 bt_dev_dbg(hdev, "status 0x%2.2x", rp->status); in hci_cc_le_set_addr_resolution_enable()
2046 if (rp->status) in hci_cc_le_set_addr_resolution_enable()
2047 return rp->status; in hci_cc_le_set_addr_resolution_enable()
2051 return rp->status; in hci_cc_le_set_addr_resolution_enable()
2062 return rp->status; in hci_cc_le_set_addr_resolution_enable()
2070 bt_dev_dbg(hdev, "status 0x%2.2x", rp->status); in hci_cc_le_read_max_data_len()
2072 if (rp->status) in hci_cc_le_read_max_data_len()
2073 return rp->status; in hci_cc_le_read_max_data_len()
2080 return rp->status; in hci_cc_le_read_max_data_len()
2089 bt_dev_dbg(hdev, "status 0x%2.2x", rp->status); in hci_cc_write_le_host_supported()
2091 if (rp->status) in hci_cc_write_le_host_supported()
2092 return rp->status; in hci_cc_write_le_host_supported()
2096 return rp->status; in hci_cc_write_le_host_supported()
2116 return rp->status; in hci_cc_write_le_host_supported()
2125 bt_dev_dbg(hdev, "status 0x%2.2x", rp->status); in hci_cc_set_adv_param()
2127 if (rp->status) in hci_cc_set_adv_param()
2128 return rp->status; in hci_cc_set_adv_param()
2132 return rp->status; in hci_cc_set_adv_param()
2138 return rp->status; in hci_cc_set_adv_param()
2148 bt_dev_dbg(hdev, "status 0x%2.2x", rp->status); in hci_cc_set_ext_adv_param()
2150 if (rp->status) in hci_cc_set_ext_adv_param()
2151 return rp->status; in hci_cc_set_ext_adv_param()
2155 return rp->status; in hci_cc_set_ext_adv_param()
2172 return rp->status; in hci_cc_set_ext_adv_param()
2181 bt_dev_dbg(hdev, "status 0x%2.2x", rp->status); in hci_cc_read_rssi()
2183 if (rp->status) in hci_cc_read_rssi()
2184 return rp->status; in hci_cc_read_rssi()
2194 return rp->status; in hci_cc_read_rssi()
2204 bt_dev_dbg(hdev, "status 0x%2.2x", rp->status); in hci_cc_read_tx_power()
2206 if (rp->status) in hci_cc_read_tx_power()
2207 return rp->status; in hci_cc_read_tx_power()
2211 return rp->status; in hci_cc_read_tx_power()
2230 return rp->status; in hci_cc_read_tx_power()
2239 bt_dev_dbg(hdev, "status 0x%2.2x", rp->status); in hci_cc_write_ssp_debug_mode()
2241 if (rp->status) in hci_cc_write_ssp_debug_mode()
2242 return rp->status; in hci_cc_write_ssp_debug_mode()
2248 return rp->status; in hci_cc_write_ssp_debug_mode()
2251 static void hci_cs_inquiry(struct hci_dev *hdev, __u8 status) in hci_cs_inquiry() argument
2253 bt_dev_dbg(hdev, "status 0x%2.2x", status); in hci_cs_inquiry()
2255 if (status) in hci_cs_inquiry()
2262 static void hci_cs_create_conn(struct hci_dev *hdev, __u8 status) in hci_cs_create_conn() argument
2267 bt_dev_dbg(hdev, "status 0x%2.2x", status); in hci_cs_create_conn()
2279 if (status) { in hci_cs_create_conn()
2282 hci_connect_cfm(conn, status); in hci_cs_create_conn()
2297 static void hci_cs_add_sco(struct hci_dev *hdev, __u8 status) in hci_cs_add_sco() argument
2304 bt_dev_dbg(hdev, "status 0x%2.2x", status); in hci_cs_add_sco()
2306 if (!status) in hci_cs_add_sco()
2326 hci_connect_cfm(link->conn, status); in hci_cs_add_sco()
2334 static void hci_cs_auth_requested(struct hci_dev *hdev, __u8 status) in hci_cs_auth_requested() argument
2339 bt_dev_dbg(hdev, "status 0x%2.2x", status); in hci_cs_auth_requested()
2341 if (!status) in hci_cs_auth_requested()
2353 hci_connect_cfm(conn, status); in hci_cs_auth_requested()
2361 static void hci_cs_set_conn_encrypt(struct hci_dev *hdev, __u8 status) in hci_cs_set_conn_encrypt() argument
2366 bt_dev_dbg(hdev, "status 0x%2.2x", status); in hci_cs_set_conn_encrypt()
2368 if (!status) in hci_cs_set_conn_encrypt()
2380 hci_connect_cfm(conn, status); in hci_cs_set_conn_encrypt()
2495 static void hci_cs_remote_name_req(struct hci_dev *hdev, __u8 status) in hci_cs_remote_name_req() argument
2500 bt_dev_dbg(hdev, "status 0x%2.2x", status); in hci_cs_remote_name_req()
2504 if (!status) in hci_cs_remote_name_req()
2538 static void hci_cs_read_remote_features(struct hci_dev *hdev, __u8 status) in hci_cs_read_remote_features() argument
2543 bt_dev_dbg(hdev, "status 0x%2.2x", status); in hci_cs_read_remote_features()
2545 if (!status) in hci_cs_read_remote_features()
2557 hci_connect_cfm(conn, status); in hci_cs_read_remote_features()
2565 static void hci_cs_read_remote_ext_features(struct hci_dev *hdev, __u8 status) in hci_cs_read_remote_ext_features() argument
2570 bt_dev_dbg(hdev, "status 0x%2.2x", status); in hci_cs_read_remote_ext_features()
2572 if (!status) in hci_cs_read_remote_ext_features()
2584 hci_connect_cfm(conn, status); in hci_cs_read_remote_ext_features()
2593 __u8 status) in hci_setup_sync_conn_status() argument
2598 bt_dev_dbg(hdev, "handle 0x%4.4x status 0x%2.2x", handle, status); in hci_setup_sync_conn_status()
2609 hci_connect_cfm(link->conn, status); in hci_setup_sync_conn_status()
2617 static void hci_cs_setup_sync_conn(struct hci_dev *hdev, __u8 status) in hci_cs_setup_sync_conn() argument
2621 bt_dev_dbg(hdev, "status 0x%2.2x", status); in hci_cs_setup_sync_conn()
2623 if (!status) in hci_cs_setup_sync_conn()
2630 hci_setup_sync_conn_status(hdev, __le16_to_cpu(cp->handle), status); in hci_cs_setup_sync_conn()
2633 static void hci_cs_enhanced_setup_sync_conn(struct hci_dev *hdev, __u8 status) in hci_cs_enhanced_setup_sync_conn() argument
2637 bt_dev_dbg(hdev, "status 0x%2.2x", status); in hci_cs_enhanced_setup_sync_conn()
2639 if (!status) in hci_cs_enhanced_setup_sync_conn()
2646 hci_setup_sync_conn_status(hdev, __le16_to_cpu(cp->handle), status); in hci_cs_enhanced_setup_sync_conn()
2649 static void hci_cs_sniff_mode(struct hci_dev *hdev, __u8 status) in hci_cs_sniff_mode() argument
2654 bt_dev_dbg(hdev, "status 0x%2.2x", status); in hci_cs_sniff_mode()
2656 if (!status) in hci_cs_sniff_mode()
2670 hci_sco_setup(conn, status); in hci_cs_sniff_mode()
2676 static void hci_cs_exit_sniff_mode(struct hci_dev *hdev, __u8 status) in hci_cs_exit_sniff_mode() argument
2681 bt_dev_dbg(hdev, "status 0x%2.2x", status); in hci_cs_exit_sniff_mode()
2683 if (!status) in hci_cs_exit_sniff_mode()
2697 hci_sco_setup(conn, status); in hci_cs_exit_sniff_mode()
2703 static void hci_cs_disconnect(struct hci_dev *hdev, u8 status) in hci_cs_disconnect() argument
2710 bt_dev_dbg(hdev, "status 0x%2.2x", status); in hci_cs_disconnect()
2712 /* Wait for HCI_EV_DISCONN_COMPLETE if status 0x00 and not suspended in hci_cs_disconnect()
2715 if (!status && !hdev->suspended) in hci_cs_disconnect()
2728 if (status) { in hci_cs_disconnect()
2730 conn->dst_type, status); in hci_cs_disconnect()
2834 static void hci_cs_le_create_conn(struct hci_dev *hdev, u8 status) in hci_cs_le_create_conn() argument
2838 bt_dev_dbg(hdev, "status 0x%2.2x", status); in hci_cs_le_create_conn()
2844 if (status) in hci_cs_le_create_conn()
2859 static void hci_cs_le_ext_create_conn(struct hci_dev *hdev, u8 status) in hci_cs_le_ext_create_conn() argument
2863 bt_dev_dbg(hdev, "status 0x%2.2x", status); in hci_cs_le_ext_create_conn()
2869 if (status) in hci_cs_le_ext_create_conn()
2884 static void hci_cs_le_read_remote_features(struct hci_dev *hdev, u8 status) in hci_cs_le_read_remote_features() argument
2889 bt_dev_dbg(hdev, "status 0x%2.2x", status); in hci_cs_le_read_remote_features()
2891 if (!status) in hci_cs_le_read_remote_features()
2903 hci_connect_cfm(conn, status); in hci_cs_le_read_remote_features()
2911 static void hci_cs_le_start_enc(struct hci_dev *hdev, u8 status) in hci_cs_le_start_enc() argument
2916 bt_dev_dbg(hdev, "status 0x%2.2x", status); in hci_cs_le_start_enc()
2918 if (!status) in hci_cs_le_start_enc()
2941 static void hci_cs_switch_role(struct hci_dev *hdev, u8 status) in hci_cs_switch_role() argument
2946 BT_DBG("%s status 0x%2.2x", hdev->name, status); in hci_cs_switch_role()
2948 if (!status) in hci_cs_switch_role()
2971 bt_dev_dbg(hdev, "status 0x%2.2x", ev->status); in hci_inquiry_complete_evt()
3072 u8 status = ev->status; in hci_conn_complete_evt() local
3074 bt_dev_dbg(hdev, "status 0x%2.2x", status); in hci_conn_complete_evt()
3080 /* In case of error status and there is no connection pending in hci_conn_complete_evt()
3083 if (ev->status) in hci_conn_complete_evt()
3129 if (!status) { in hci_conn_complete_evt()
3130 status = hci_conn_set_handle(conn, __le16_to_cpu(ev->handle)); in hci_conn_complete_evt()
3131 if (status) in hci_conn_complete_evt()
3176 hci_encrypt_cfm(conn, ev->status); in hci_conn_complete_evt()
3201 hci_sco_setup(conn, ev->status); in hci_conn_complete_evt()
3204 if (status) { in hci_conn_complete_evt()
3205 hci_conn_failed(conn, status); in hci_conn_complete_evt()
3214 hci_connect_cfm(conn, status); in hci_conn_complete_evt()
3363 bt_dev_dbg(hdev, "status 0x%2.2x", ev->status); in hci_disconn_complete_evt()
3371 if (ev->status) { in hci_disconn_complete_evt()
3373 conn->dst_type, ev->status); in hci_disconn_complete_evt()
3445 bt_dev_dbg(hdev, "status 0x%2.2x", ev->status); in hci_auth_complete_evt()
3453 if (!ev->status) { in hci_auth_complete_evt()
3458 if (ev->status == HCI_ERROR_PIN_OR_KEY_MISSING) in hci_auth_complete_evt()
3461 mgmt_auth_failed(conn, ev->status); in hci_auth_complete_evt()
3467 if (!ev->status && hci_conn_ssp_enabled(conn)) { in hci_auth_complete_evt()
3475 hci_connect_cfm(conn, ev->status); in hci_auth_complete_evt()
3479 hci_auth_cfm(conn, ev->status); in hci_auth_complete_evt()
3487 if (!ev->status) { in hci_auth_complete_evt()
3495 hci_encrypt_cfm(conn, ev->status); in hci_auth_complete_evt()
3509 bt_dev_dbg(hdev, "status 0x%2.2x", ev->status); in hci_remote_name_evt()
3518 if (ev->status == 0) in hci_remote_name_evt()
3550 bt_dev_dbg(hdev, "status 0x%2.2x", ev->status); in hci_encrypt_change_evt()
3558 if (!ev->status) { in hci_encrypt_change_evt()
3581 if (ev->status && conn->type == LE_LINK) { in hci_encrypt_change_evt()
3590 ev->status = HCI_ERROR_AUTH_FAILURE; in hci_encrypt_change_evt()
3592 if (ev->status && conn->state == BT_CONNECTED) { in hci_encrypt_change_evt()
3593 if (ev->status == HCI_ERROR_PIN_OR_KEY_MISSING) in hci_encrypt_change_evt()
3599 hci_encrypt_cfm(conn, ev->status); in hci_encrypt_change_evt()
3606 if (!ev->status && ev->encrypt && conn->type == ACL_LINK) { in hci_encrypt_change_evt()
3650 hci_encrypt_cfm(conn, ev->status); in hci_encrypt_change_evt()
3662 bt_dev_dbg(hdev, "status 0x%2.2x", ev->status); in hci_change_link_key_complete_evt()
3668 if (!ev->status) in hci_change_link_key_complete_evt()
3673 hci_key_change_cfm(conn, ev->status); in hci_change_link_key_complete_evt()
3685 bt_dev_dbg(hdev, "status 0x%2.2x", ev->status); in hci_remote_features_evt()
3693 if (!ev->status) in hci_remote_features_evt()
3699 if (!ev->status && lmp_ext_feat_capable(hdev) && in hci_remote_features_evt()
3709 if (!ev->status) { in hci_remote_features_evt()
3721 hci_connect_cfm(conn, ev->status); in hci_remote_features_evt()
3752 bt_dev_dbg(hdev, "status 0x%2.2x", rp->status); in hci_cc_le_read_buffer_size_v2()
3754 if (rp->status) in hci_cc_le_read_buffer_size_v2()
3755 return rp->status; in hci_cc_le_read_buffer_size_v2()
3771 return rp->status; in hci_cc_le_read_buffer_size_v2()
3774 static void hci_unbound_cis_failed(struct hci_dev *hdev, u8 cig, u8 status) in hci_unbound_cis_failed() argument
3786 hci_conn_failed(conn, status); in hci_unbound_cis_failed()
3796 u8 status = rp->status; in hci_cc_le_set_cig_params() local
3800 bt_dev_dbg(hdev, "status 0x%2.2x", rp->status); in hci_cc_le_set_cig_params()
3803 if (!rp->status && (!cp || rp->num_handles != cp->num_cis || in hci_cc_le_set_cig_params()
3806 status = HCI_ERROR_UNSPECIFIED; in hci_cc_le_set_cig_params()
3813 * If the Status return parameter is non-zero, then the state of the CIG in hci_cc_le_set_cig_params()
3817 if (status) { in hci_cc_le_set_cig_params()
3819 hci_unbound_cis_failed(hdev, rp->cig_id, status); in hci_cc_le_set_cig_params()
3825 * If the Status return parameter is zero, then the Controller shall in hci_cc_le_set_cig_params()
3852 return rp->status; in hci_cc_le_set_cig_params()
3862 bt_dev_dbg(hdev, "status 0x%2.2x", rp->status); in hci_cc_le_setup_iso_path()
3866 return rp->status; in hci_cc_le_setup_iso_path()
3874 if (rp->status) { in hci_cc_le_setup_iso_path()
3875 hci_connect_cfm(conn, rp->status); in hci_cc_le_setup_iso_path()
3885 hci_connect_cfm(conn, rp->status); in hci_cc_le_setup_iso_path()
3892 hci_connect_cfm(conn, rp->status); in hci_cc_le_setup_iso_path()
3895 if (!rp->status && test_bit(HCI_CONN_BIG_SYNC, &conn->flags)) in hci_cc_le_setup_iso_path()
3903 return rp->status; in hci_cc_le_setup_iso_path()
3906 static void hci_cs_le_create_big(struct hci_dev *hdev, u8 status) in hci_cs_le_create_big() argument
3908 bt_dev_dbg(hdev, "status 0x%2.2x", status); in hci_cs_le_create_big()
3917 bt_dev_dbg(hdev, "status 0x%2.2x", rp->status); in hci_cc_set_per_adv_param()
3919 if (rp->status) in hci_cc_set_per_adv_param()
3920 return rp->status; in hci_cc_set_per_adv_param()
3924 return rp->status; in hci_cc_set_per_adv_param()
3927 return rp->status; in hci_cc_set_per_adv_param()
3938 bt_dev_dbg(hdev, "status 0x%2.2x", rp->status); in hci_cc_le_set_per_adv_enable()
3940 if (rp->status) in hci_cc_le_set_per_adv_enable()
3941 return rp->status; in hci_cc_le_set_per_adv_enable()
3945 return rp->status; in hci_cc_le_set_per_adv_enable()
3977 return rp->status; in hci_cc_le_set_per_adv_enable()
4190 struct sk_buff *skb, u16 *opcode, u8 *status, in hci_cmd_complete_evt() argument
4203 *status = hci_cc_func(hdev, &hci_cc_table[i], skb); in hci_cmd_complete_evt()
4209 /* Unknown opcode, assume byte 0 contains the status, so in hci_cmd_complete_evt()
4214 * the status. in hci_cmd_complete_evt()
4216 *status = skb->data[0]; in hci_cmd_complete_evt()
4221 hci_req_cmd_complete(hdev, *opcode, *status, req_complete, in hci_cmd_complete_evt()
4234 static void hci_cs_le_create_cis(struct hci_dev *hdev, u8 status) in hci_cs_le_create_cis() argument
4240 bt_dev_dbg(hdev, "status 0x%2.2x", status); in hci_cs_le_create_cis()
4242 if (!status) in hci_cs_le_create_cis()
4264 hci_connect_cfm(conn, status); in hci_cs_le_create_cis()
4284 void (*func)(struct hci_dev *hdev, __u8 status);
4311 struct sk_buff *skb, u16 *opcode, u8 *status, in hci_cmd_status_evt() argument
4319 *status = ev->status; in hci_cmd_status_evt()
4325 hci_cs_table[i].func(hdev, ev->status); in hci_cmd_status_evt()
4334 * command status we should try to flag the request as completed in hci_cmd_status_evt()
4338 if (ev->status || (hdev->req_skb && !hci_skb_event(hdev->req_skb))) { in hci_cmd_status_evt()
4339 hci_req_cmd_complete(hdev, *opcode, ev->status, req_complete, in hci_cmd_status_evt()
4370 bt_dev_dbg(hdev, "status 0x%2.2x", ev->status); in hci_role_change_evt()
4376 if (!ev->status) in hci_role_change_evt()
4381 hci_role_switch_cfm(conn, ev->status, ev->role); in hci_role_change_evt()
4470 bt_dev_dbg(hdev, "status 0x%2.2x", ev->status); in hci_mode_change_evt()
4487 hci_sco_setup(conn, ev->status); in hci_mode_change_evt()
4698 bt_dev_dbg(hdev, "status 0x%2.2x", ev->status); in hci_clock_offset_evt()
4703 if (conn && !ev->status) { in hci_clock_offset_evt()
4722 bt_dev_dbg(hdev, "status 0x%2.2x", ev->status); in hci_pkt_type_change_evt()
4727 if (conn && !ev->status) in hci_pkt_type_change_evt()
4845 bt_dev_dbg(hdev, "status 0x%2.2x", ev->status); in hci_remote_ext_features_evt()
4856 if (!ev->status && ev->page == 0x01) { in hci_remote_ext_features_evt()
4884 if (!ev->status && !test_bit(HCI_CONN_MGMT_CONNECTED, &conn->flags)) { in hci_remote_ext_features_evt()
4896 hci_connect_cfm(conn, ev->status); in hci_remote_ext_features_evt()
4909 u8 status = ev->status; in hci_sync_conn_complete_evt() local
4924 bt_dev_dbg(hdev, "status 0x%2.2x", status); in hci_sync_conn_complete_evt()
4958 switch (status) { in hci_sync_conn_complete_evt()
4960 status = hci_conn_set_handle(conn, __le16_to_cpu(ev->handle)); in hci_sync_conn_complete_evt()
4961 if (status) { in hci_sync_conn_complete_evt()
5009 hci_connect_cfm(conn, status); in hci_sync_conn_complete_evt()
5010 if (status) in hci_sync_conn_complete_evt()
5095 bt_dev_dbg(hdev, "status 0x%2.2x handle 0x%4.4x", ev->status, in hci_key_refresh_complete_evt()
5110 if (!ev->status) in hci_key_refresh_complete_evt()
5115 if (ev->status && conn->state == BT_CONNECTED) { in hci_key_refresh_complete_evt()
5122 if (!ev->status) in hci_key_refresh_complete_evt()
5125 hci_connect_cfm(conn, ev->status); in hci_key_refresh_complete_evt()
5128 hci_auth_cfm(conn, ev->status); in hci_key_refresh_complete_evt()
5468 if (!test_bit(HCI_CONN_AUTH_PEND, &conn->flags) && ev->status) in hci_simple_pair_complete_evt()
5469 mgmt_auth_failed(conn, ev->status); in hci_simple_pair_complete_evt()
5606 static void le_conn_complete_evt(struct hci_dev *hdev, u8 status, in le_conn_complete_evt() argument
5626 /* In case of error status and there is no connection pending in le_conn_complete_evt()
5629 if (status) in le_conn_complete_evt()
5698 if (status || hci_conn_set_handle(conn, handle)) in le_conn_complete_evt()
5758 hci_connect_cfm(conn, status); in le_conn_complete_evt()
5782 bt_dev_dbg(hdev, "status 0x%2.2x", ev->status); in hci_le_conn_complete_evt()
5784 le_conn_complete_evt(hdev, ev->status, &ev->bdaddr, ev->bdaddr_type, in hci_le_conn_complete_evt()
5796 bt_dev_dbg(hdev, "status 0x%2.2x", ev->status); in hci_le_enh_conn_complete_evt()
5798 le_conn_complete_evt(hdev, ev->status, &ev->bdaddr, ev->bdaddr_type, in hci_le_enh_conn_complete_evt()
5812 bt_dev_dbg(hdev, "status 0x%2.2x", ev->status); in hci_le_ext_adv_term_evt()
5821 if (ev->status == HCI_ERROR_CANCELLED_BY_HOST) { in hci_le_ext_adv_term_evt()
5830 if (ev->status) { in hci_le_ext_adv_term_evt()
5881 bt_dev_dbg(hdev, "status 0x%2.2x", ev->status); in hci_le_conn_update_complete_evt()
5883 if (ev->status) in hci_le_conn_update_complete_evt()
6350 bt_dev_dbg(hdev, "status 0x%2.2x", ev->status); in hci_le_pa_sync_estabilished_evt()
6374 if (ev->status) { in hci_le_pa_sync_estabilished_evt()
6378 hci_connect_cfm(pa_sync, ev->status); in hci_le_pa_sync_estabilished_evt()
6430 bt_dev_dbg(hdev, "status 0x%2.2x", ev->status); in hci_le_remote_feat_complete_evt()
6436 if (!ev->status) in hci_le_remote_feat_complete_evt()
6440 __u8 status; in hci_le_remote_feat_complete_evt() local
6451 if (!conn->out && ev->status == HCI_ERROR_UNSUPPORTED_REMOTE_FEATURE && in hci_le_remote_feat_complete_evt()
6453 status = 0x00; in hci_le_remote_feat_complete_evt()
6455 status = ev->status; in hci_le_remote_feat_complete_evt()
6458 hci_connect_cfm(conn, status); in hci_le_remote_feat_complete_evt()
6641 bt_dev_dbg(hdev, "status 0x%2.2x", ev->status); in hci_le_phy_update_evt()
6643 if (ev->status) in hci_le_phy_update_evt()
6669 bt_dev_dbg(hdev, "status 0x%2.2x", ev->status); in hci_le_cis_estabilished_evt()
6740 if (!ev->status) { in hci_le_cis_estabilished_evt()
6749 hci_connect_cfm(conn, ev->status); in hci_le_cis_estabilished_evt()
6844 BT_DBG("%s status 0x%2.2x", hdev->name, ev->status); in hci_le_create_big_complete_evt()
6864 if (!ev->status) { in hci_le_create_big_complete_evt()
6875 hci_connect_cfm(conn, ev->status); in hci_le_create_big_complete_evt()
6883 if (!ev->status && !i) in hci_le_create_big_complete_evt()
6902 bt_dev_dbg(hdev, "status 0x%2.2x", ev->status); in hci_le_big_sync_established_evt()
6926 if (ev->status != 0x42) in hci_le_big_sync_established_evt()
6938 if (!ev->status) { in hci_le_big_sync_established_evt()
6947 if (ev->status) in hci_le_big_sync_established_evt()
6956 hci_connect_cfm(bis, ev->status); in hci_le_big_sync_established_evt()
7093 struct sk_buff *skb, u16 *opcode, u8 *status, in hci_le_meta_evt() argument
7154 /* Check if request ended in Command Status - no way to retrieve in hci_get_cmd_complete()
7284 struct sk_buff *skb, u16 *opcode, u8 *status,
7410 u16 *opcode, u8 *status, in hci_event_func() argument
7440 ev->func_req(hdev, data, skb, opcode, status, req_complete, in hci_event_func()
7452 u8 status = 0, event, req_evt = 0; in hci_event_packet() local
7475 status, &req_complete, &req_complete_skb); in hci_event_packet()
7495 hci_event_func(hdev, event, skb, &opcode, &status, &req_complete, in hci_event_packet()
7499 req_complete(hdev, status, opcode); in hci_event_packet()
7505 req_complete_skb(hdev, status, opcode, orig_skb); in hci_event_packet()