Lines Matching refs:status
88 static void send_cmd_status(u16_t opcode, u8_t status) in send_cmd_status() argument
94 BT_DBG("opcode %x status %x", opcode, status); in send_cmd_status()
106 evt->status = status; in send_cmd_status()
139 u8_t status; in emulate_le_p256_public_key_cmd() local
143 status = generate_keys(); in emulate_le_p256_public_key_cmd()
155 evt->status = status; in emulate_le_p256_public_key_cmd()
157 if (status) { in emulate_le_p256_public_key_cmd()
208 evt->status = BT_HCI_ERR_UNSPECIFIED; in emulate_le_generate_dhkey()
211 evt->status = 0U; in emulate_le_generate_dhkey()
255 u8_t status; in le_gen_dhkey() local
258 status = BT_HCI_ERR_CMD_DISALLOWED; in le_gen_dhkey()
263 status = BT_HCI_ERR_INVALID_PARAM; in le_gen_dhkey()
268 status = BT_HCI_ERR_CMD_DISALLOWED; in le_gen_dhkey()
279 status = BT_HCI_ERR_SUCCESS; in le_gen_dhkey()
283 send_cmd_status(BT_HCI_OP_LE_GENERATE_DHKEY, status); in le_gen_dhkey()
288 u8_t status; in le_p256_pub_key() local
293 status = BT_HCI_ERR_CMD_DISALLOWED; in le_p256_pub_key()
295 status = BT_HCI_ERR_CMD_DISALLOWED; in le_p256_pub_key()
298 status = BT_HCI_ERR_SUCCESS; in le_p256_pub_key()
301 send_cmd_status(BT_HCI_OP_LE_P256_PUBLIC_KEY, status); in le_p256_pub_key()