Home
last modified time | relevance | path

Searched refs:rtk_skb_copy (Results 1 – 1 of 1) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/bluetooth/
H A Drtk_btusb.c762 struct sk_buff *rtk_skb_copy = NULL; in hci_send_to_stack() local
776 rtk_skb_copy = pskb_copy(skb, GFP_ATOMIC); in hci_send_to_stack()
777 if (!rtk_skb_copy) { in hci_send_to_stack()
782 memcpy(skb_push(rtk_skb_copy, 1), &bt_cb(skb)->pkt_type, 1); in hci_send_to_stack()
783 rtk_enqueue(rtk_skb_copy); in hci_send_to_stack()
963 struct sk_buff *rtk_skb_copy = NULL; in hci_hardware_error() local
967 rtk_skb_copy = alloc_skb(len, GFP_ATOMIC); in hci_hardware_error()
968 if (!rtk_skb_copy) { in hci_hardware_error()
973 memcpy(skb_put(rtk_skb_copy, len), hardware_err_pkt, len); in hci_hardware_error()
974 rtk_enqueue(rtk_skb_copy); in hci_hardware_error()