]> git.karo-electronics.de Git - linux-beck.git/commit
Bluetooth: Use explicit role instead of a bool in function parameters
authorJohan Hedberg <johan.hedberg@intel.com>
Wed, 16 Jul 2014 08:42:28 +0000 (11:42 +0300)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 16 Jul 2014 09:04:23 +0000 (11:04 +0200)
commite804d25d4a07c0ff9e5e1c58ea5ee67232aa9af8
treeb52e7927dace2aa691585d9dd12534d36ade1b87
parent40bef302f6323d1ee6fb3dc0e62edb0f446d0339
Bluetooth: Use explicit role instead of a bool in function parameters

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@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
include/net/bluetooth/hci_core.h
net/bluetooth/hci_conn.c
net/bluetooth/hci_core.c
net/bluetooth/hci_event.c
net/bluetooth/l2cap_core.c
net/bluetooth/mgmt.c
net/bluetooth/smp.c