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)
commit976eb20e61e33dd3e7840bc26bc5d33ab9ca9c5c
tree64ed0f7aa5b3064d96bf17ad1639535796aa28c4
parent761f09e4d6d2bfe4a517d14ca28aec041c8a7415
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