Re: [PATCH 3/3] Bluetooth: Use explicit role instead of a bool in function parameters

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

 



Hi Johan,

> To make the code more understandable it makes sense to use the new HCI
> defines for connection role instead of a "bool master" parameter. This
> makes it immediately clear when looking at the function calls what the
> last parameter is describing.
> 
> Signed-off-by: Johan Hedberg <johan.hedberg@xxxxxxxxx>
> ---
> include/net/bluetooth/hci_core.h |  6 +++---
> net/bluetooth/hci_conn.c         |  7 ++++---
> net/bluetooth/hci_core.c         | 19 +++++++++++--------
> net/bluetooth/hci_event.c        |  5 ++---
> net/bluetooth/l2cap_core.c       |  9 ++++++---
> net/bluetooth/mgmt.c             |  4 ++--
> net/bluetooth/smp.c              |  4 ++--
> 7 files changed, 30 insertions(+), 24 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