Home | History | Annotate | Download | only in uim_rfkill

Lines Matching refs:resp

266     command_complete_t resp;
271 if (read_hci_event(fd, (unsigned char *)&resp, sizeof(resp)) < 0) {
277 if (resp.uart_prefix != HCI_EVENT_PKT) {
280 resp.uart_prefix);
285 if (resp.hci_hdr.evt != EVT_CMD_COMPLETE) {
289 resp.hci_hdr.evt);
293 if (resp.hci_hdr.plen < 4) {
296 resp.hci_hdr.plen);
300 if (resp.cmd_complete.opcode != (unsigned short)opcode) {
302 resp.cmd_complete.opcode, opcode);
307 return resp.status == 0 ? 0 : -1;