Re: [PATCH] Bluetooth: Add hdev parameter to hdev->send driver callback

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Marcel,

On Fri, Oct 11, 2013, Marcel Holtmann wrote:
> Instead of masking hdev inside the skb->dev parameter, hand it
> directly to the driver as a parameter to hdev->send. This makes
> the driver interface more clear and simpler.
> 
> This patch fixes all drivers to accept and handle the new parameter
> of hdev->send callback. Special care has been taken for bpa10x
> and btusb drivers that require having skb->dev set to hdev for
> the URB transmit complete handlers.
> 
> Signed-off-by: Marcel Holtmann <marcel@xxxxxxxxxxxx>
> ---
>  drivers/bluetooth/bfusb.c        | 3 +--
>  drivers/bluetooth/bluecard_cs.c  | 3 +--
>  drivers/bluetooth/bpa10x.c       | 5 +++--
>  drivers/bluetooth/bt3c_cs.c      | 3 +--
>  drivers/bluetooth/btmrvl_main.c  | 4 +---
>  drivers/bluetooth/btsdio.c       | 3 +--
>  drivers/bluetooth/btuart_cs.c    | 3 +--
>  drivers/bluetooth/btusb.c        | 5 +++--
>  drivers/bluetooth/btwilink.c     | 5 +----
>  drivers/bluetooth/dtl1_cs.c      | 3 +--
>  drivers/bluetooth/hci_ldisc.c    | 3 +--
>  drivers/bluetooth/hci_ll.c       | 1 -
>  drivers/bluetooth/hci_vhci.c     | 3 +--
>  include/net/bluetooth/hci_core.h | 2 +-
>  net/bluetooth/hci_core.c         | 4 +---
>  15 files changed, 18 insertions(+), 32 deletions(-)

Applied to bluetooth-next. Thanks.

Johan
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux