Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions rtk_btusb.c
Original file line number Diff line number Diff line change
Expand Up @@ -606,9 +606,8 @@ static int btusb_flush(struct hci_dev *hdev)
return 0;
}

static int btusb_send_frame(struct sk_buff *skb)
static int btusb_send_frame(struct hci_dev *hdev, struct sk_buff *skb)
{
struct hci_dev *hdev = (struct hci_dev *) skb->dev;
struct btusb_data *data = GET_DRV_DATA(hdev);
struct usb_ctrlrequest *dr;
struct urb *urb;
Expand All @@ -617,6 +616,8 @@ static int btusb_send_frame(struct sk_buff *skb)

BT_DBG("%s", hdev->name);

skb->dev = (void *) hdev;

if (!test_bit(HCI_RUNNING, &hdev->flags))
return -EBUSY;

Expand Down