Lines Matching refs:sent_cmd
1547 if (hdev->sent_cmd) { in hci_dev_do_open()
1548 kfree_skb(hdev->sent_cmd); in hci_dev_do_open()
1549 hdev->sent_cmd = NULL; in hci_dev_do_open()
1733 if (hdev->sent_cmd) { in hci_dev_do_close()
1735 kfree_skb(hdev->sent_cmd); in hci_dev_do_close()
1736 hdev->sent_cmd = NULL; in hci_dev_do_close()
2618 if (hdev->sent_cmd) { in hci_cmd_timeout()
2619 struct hci_command_hdr *sent = (void *) hdev->sent_cmd->data; in hci_cmd_timeout()
3664 if (!hdev->sent_cmd) in hci_sent_cmd_data()
3667 hdr = (void *) hdev->sent_cmd->data; in hci_sent_cmd_data()
3674 return hdev->sent_cmd->data + HCI_COMMAND_HDR_SIZE; in hci_sent_cmd_data()
4357 if (!hdev->sent_cmd) in hci_resend_last()
4360 sent = (void *) hdev->sent_cmd->data; in hci_resend_last()
4365 skb = skb_clone(hdev->sent_cmd, GFP_KERNEL); in hci_resend_last()
4408 if (bt_cb(hdev->sent_cmd)->hci.req_complete) { in hci_req_cmd_complete()
4409 *req_complete = bt_cb(hdev->sent_cmd)->hci.req_complete; in hci_req_cmd_complete()
4413 if (bt_cb(hdev->sent_cmd)->hci.req_complete_skb) { in hci_req_cmd_complete()
4414 *req_complete_skb = bt_cb(hdev->sent_cmd)->hci.req_complete_skb; in hci_req_cmd_complete()
4502 kfree_skb(hdev->sent_cmd); in hci_cmd_work()
4504 hdev->sent_cmd = skb_clone(skb, GFP_KERNEL); in hci_cmd_work()
4505 if (hdev->sent_cmd) { in hci_cmd_work()