]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/bluetooth/btuart_cs.c
Bluetooth: Add hdev parameter to hdev->send driver callback
[karo-tx-linux.git] / drivers / bluetooth / btuart_cs.c
index d0b89ecf1c5969319cd8d96a2fa6c09a092c4e2d..f567cd8424c3dc322fba75160a10716b9b9599c5 100644 (file)
@@ -423,10 +423,9 @@ static int btuart_hci_close(struct hci_dev *hdev)
 }
 
 
-static int btuart_hci_send_frame(struct sk_buff *skb)
+static int btuart_hci_send_frame(struct hci_dev *hdev, struct sk_buff *skb)
 {
        btuart_info_t *info;
-       struct hci_dev *hdev = (struct hci_dev *)(skb->dev);
 
        if (!hdev) {
                BT_ERR("Frame for unknown HCI device (hdev=NULL)");