]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Provide hdev parameter to hci_recv_frame() driver callback
authorMarcel Holtmann <marcel@holtmann.org>
Thu, 10 Oct 2013 23:52:43 +0000 (16:52 -0700)
committerJohan Hedberg <johan.hedberg@intel.com>
Fri, 11 Oct 2013 07:45:34 +0000 (09:45 +0200)
commitcf0eccc12c501651ce45ff15eb434586c856be43
treee0960ade9f09c39dc44c92604e7f758760ea1fce
parent19d27d17e4c3099d32f658fa42fbb04e44ce831c
Bluetooth: Provide hdev parameter to hci_recv_frame() driver callback

To avoid casting skb->dev into hdev, just let the drivers provide
the hdev directly when calling hci_recv_frame() function.

This patch also fixes up all drivers to provide the hdev.

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
15 files changed:
drivers/bluetooth/bfusb.c
drivers/bluetooth/bluecard_cs.c
drivers/bluetooth/bpa10x.c
drivers/bluetooth/bt3c_cs.c
drivers/bluetooth/btmrvl_sdio.c
drivers/bluetooth/btsdio.c
drivers/bluetooth/btuart_cs.c
drivers/bluetooth/btwilink.c
drivers/bluetooth/dtl1_cs.c
drivers/bluetooth/hci_bcsp.c
drivers/bluetooth/hci_h5.c
drivers/bluetooth/hci_ll.c
drivers/bluetooth/hci_vhci.c
include/net/bluetooth/hci_core.h
net/bluetooth/hci_core.c