aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/bluetooth/hci_core.h
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@intel.com>2012-01-16 09:49:58 +0200
committerJohan Hedberg <johan.hedberg@intel.com>2012-02-13 17:01:28 +0200
commita0c808b373e89aecc3ecae4cbdcdeff68aa12e3e (patch)
treeb8c27b90772ab0501b0d6689e6a7782806af14c7 /include/net/bluetooth/hci_core.h
parentBluetooth: Rename conn->pend to conn->flags (diff)
downloadlinux-dev-a0c808b373e89aecc3ecae4cbdcdeff68aa12e3e.tar.xz
linux-dev-a0c808b373e89aecc3ecae4cbdcdeff68aa12e3e.zip
Bluetooth: Convert hdev->out to a bool type
The hdev->out variable is essentially a boolean so the type 'bool' makes more sense than u8. Signed-off-by: Johan Hedberg <johan.hedberg@intel.com> Acked-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'include/net/bluetooth/hci_core.h')
-rw-r--r--include/net/bluetooth/hci_core.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/bluetooth/hci_core.h b/include/net/bluetooth/hci_core.h
index 0938168ce602..520da44940e9 100644
--- a/include/net/bluetooth/hci_core.h
+++ b/include/net/bluetooth/hci_core.h
@@ -282,7 +282,7 @@ struct hci_conn {
__u16 state;
__u8 mode;
__u8 type;
- __u8 out;
+ bool out;
__u8 attempt;
__u8 dev_class[3];
__u8 features[8];