Bluetooth: Use lmp_esco_capable where applicable
Linux-MTD Mailing List
linux-mtd at lists.infradead.org
Sat Sep 29 10:59:21 EDT 2012
Gitweb: http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=45db810fb71a94926c10f4dbbb5ca7913983f83b
Commit: 45db810fb71a94926c10f4dbbb5ca7913983f83b
Parent: 9a1a1996d54a92cae2affa1de689cb04ebe7bce1
Author: Andre Guedes <andre.guedes at openbossa.org>
AuthorDate: Tue Jul 24 15:03:49 2012 -0300
Committer: Gustavo Padovan <gustavo.padovan at collabora.co.uk>
CommitDate: Mon Aug 6 15:02:57 2012 -0300
Bluetooth: Use lmp_esco_capable where applicable
This patch replaces all LMP_ESCO bit checking by the helper macro
lmp_esco_capable.
Signed-off-by: Andre Guedes <andre.guedes at openbossa.org>
Signed-off-by: Gustavo Padovan <gustavo.padovan at collabora.co.uk>
---
net/bluetooth/hci_event.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/net/bluetooth/hci_event.c b/net/bluetooth/hci_event.c
index b120388..5722a38 100644
--- a/net/bluetooth/hci_event.c
+++ b/net/bluetooth/hci_event.c
@@ -686,7 +686,7 @@ static void hci_cc_read_local_features(struct hci_dev *hdev,
hdev->esco_type |= (ESCO_HV3);
}
- if (hdev->features[3] & LMP_ESCO)
+ if (lmp_esco_capable(hdev))
hdev->esco_type |= (ESCO_EV3);
if (hdev->features[4] & LMP_EV4)
More information about the linux-mtd-cvs
mailing list