]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - drivers/bluetooth/bfusb.c
Bluetooth: Add hdev parameter to hdev->send driver callback
[karo-tx-linux.git] / drivers / bluetooth / bfusb.c
index b7b5bb879f08dd818cbfd2a650a724ea3a38530d..a6758490fa61952c7648e470a8741e19cae43cc4 100644 (file)
@@ -464,9 +464,8 @@ static int bfusb_close(struct hci_dev *hdev)
        return 0;
 }
 
-static int bfusb_send_frame(struct sk_buff *skb)
+static int bfusb_send_frame(struct hci_dev *hdev, struct sk_buff *skb)
 {
-       struct hci_dev *hdev = (struct hci_dev *) skb->dev;
        struct bfusb_data *data;
        struct sk_buff *nskb;
        unsigned char buf[3];