diff options
Diffstat (limited to 'drivers/bluetooth/hci_ldisc.c')
-rw-r--r-- | drivers/bluetooth/hci_ldisc.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/bluetooth/hci_ldisc.c b/drivers/bluetooth/hci_ldisc.c index bc68a440d432..b04054675c48 100644 --- a/drivers/bluetooth/hci_ldisc.c +++ b/drivers/bluetooth/hci_ldisc.c | |||
@@ -234,9 +234,8 @@ static int hci_uart_close(struct hci_dev *hdev) | |||
234 | } | 234 | } |
235 | 235 | ||
236 | /* Send frames from HCI layer */ | 236 | /* Send frames from HCI layer */ |
237 | static int hci_uart_send_frame(struct sk_buff *skb) | 237 | static int hci_uart_send_frame(struct hci_dev *hdev, struct sk_buff *skb) |
238 | { | 238 | { |
239 | struct hci_dev* hdev = (struct hci_dev *) skb->dev; | ||
240 | struct hci_uart *hu; | 239 | struct hci_uart *hu; |
241 | 240 | ||
242 | if (!hdev) { | 241 | if (!hdev) { |