Re: [PATCH v2] Bluteooth: Convert hci_conn->link_mode into flags

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

 



Hi Johan,

> Since the link_mode member of the hci_conn struct is a bit field and we
> already have a flags member as well it makes sense to merge these two
> together. This patch moves all used link_mode bits into corresponding
> flags. To keep backwards compatibility with user space we still need to
> provide a get_link_mode() helper function for the ioctl's that expect a
> link_mode style value.
> 
> Signed-off-by: Johan Hedberg <johan.hedberg@xxxxxxxxx>
> ---
> v2: Fix variable tpe in get_link_mode()
> 
> include/net/bluetooth/hci_core.h | 10 +++++++---
> net/bluetooth/hci_conn.c         | 43 ++++++++++++++++++++++++++++++----------
> net/bluetooth/hci_event.c        | 28 +++++++++++++-------------
> net/bluetooth/l2cap_core.c       |  4 ++--
> net/bluetooth/smp.c              | 12 +++++------
> 5 files changed, 62 insertions(+), 35 deletions(-)

patch has been applied to bluetooth-next tree.

Regards

Marcel

--
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