Bluetooth: Make use feature test macros
authorJohan Hedberg <johan.hedberg@intel.com>
Wed, 24 Oct 2012 18:12:01 +0000 (21:12 +0300)
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>
Thu, 1 Nov 2012 22:26:57 +0000 (20:26 -0200)
commit67ccc1cbf7aa79e77216c5a7cb7e2313254bdddb
tree64ed0f7aa5b3064d96bf17ad1639535796aa28c4
parent0d695cdb7605271947f64bdd3ee4318cb0a7eca2
Bluetooth: Make use feature test macros

For better code readability and avoiding simple bugs of checking the
wrong byte of the features make use of feature test macros whenever
possible.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
net/bluetooth/hci_event.c
net/bluetooth/mgmt.c