Lines Matching refs:sent_cmd
1549 if (hdev->sent_cmd) { in hci_dev_do_open()
1550 kfree_skb(hdev->sent_cmd); in hci_dev_do_open()
1551 hdev->sent_cmd = NULL; in hci_dev_do_open()
1736 if (hdev->sent_cmd) { in hci_dev_do_close()
1738 kfree_skb(hdev->sent_cmd); in hci_dev_do_close()
1739 hdev->sent_cmd = NULL; in hci_dev_do_close()
2613 if (hdev->sent_cmd) { in hci_cmd_timeout()
2614 struct hci_command_hdr *sent = (void *) hdev->sent_cmd->data; in hci_cmd_timeout()
3653 if (!hdev->sent_cmd) in hci_sent_cmd_data()
3656 hdr = (void *) hdev->sent_cmd->data; in hci_sent_cmd_data()
3663 return hdev->sent_cmd->data + HCI_COMMAND_HDR_SIZE; in hci_sent_cmd_data()
4346 if (!hdev->sent_cmd) in hci_resend_last()
4349 sent = (void *) hdev->sent_cmd->data; in hci_resend_last()
4354 skb = skb_clone(hdev->sent_cmd, GFP_KERNEL); in hci_resend_last()
4400 if (bt_cb(hdev->sent_cmd)->hci.req_flags & HCI_REQ_SKB) { in hci_req_cmd_complete()
4401 *req_complete_skb = bt_cb(hdev->sent_cmd)->hci.req_complete_skb; in hci_req_cmd_complete()
4405 if (bt_cb(hdev->sent_cmd)->hci.req_complete) { in hci_req_cmd_complete()
4406 *req_complete = bt_cb(hdev->sent_cmd)->hci.req_complete; in hci_req_cmd_complete()
4496 kfree_skb(hdev->sent_cmd); in hci_cmd_work()
4498 hdev->sent_cmd = skb_clone(skb, GFP_KERNEL); in hci_cmd_work()
4499 if (hdev->sent_cmd) { in hci_cmd_work()