]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/bluetooth/btwilink.c
arm: imx6: defconfig: update tx6 defconfigs
[karo-tx-linux.git] / drivers / bluetooth / btwilink.c
index 5e10fb0a7e05bbe25c8d43305308d2dba635bcf2..f038dba19e36b77973da26ee9688ed7791126d2f 100644 (file)
@@ -251,14 +251,11 @@ static int ti_st_close(struct hci_dev *hdev)
        return err;
 }
 
-static int ti_st_send_frame(struct sk_buff *skb)
+static int ti_st_send_frame(struct hci_dev *hdev, struct sk_buff *skb)
 {
-       struct hci_dev *hdev;
        struct ti_st *hst;
        long len;
 
-       hdev = (struct hci_dev *)skb->dev;
-
        if (!test_bit(HCI_RUNNING, &hdev->flags))
                return -EBUSY;