projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6eded10
)
Bluetooth: Use lmp_sniffsubr_capable where applicable
author
Andre Guedes
<andre.guedes@openbossa.org>
Tue, 24 Jul 2012 18:03:52 +0000
(15:03 -0300)
committer
Gustavo Padovan
<gustavo.padovan@collabora.co.uk>
Mon, 6 Aug 2012 18:02:57 +0000
(15:02 -0300)
This patch replaces all LMP_SNIFF_SUBR bit checking by the helper
macro lmp_sniffsubr_capable.
Signed-off-by: Andre Guedes <andre.guedes@openbossa.org>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
net/bluetooth/hci_event.c
patch
|
blob
|
history
diff --git
a/net/bluetooth/hci_event.c
b/net/bluetooth/hci_event.c
index eb9024a8684c97003b94507bb1ea1130c48aa559..060780c40ba1b697bd0a0c2787f7f5483ea560b5 100644
(file)
--- a/
net/bluetooth/hci_event.c
+++ b/
net/bluetooth/hci_event.c
@@
-513,7
+513,7
@@
static void hci_setup_event_mask(struct hci_dev *hdev)
if (hdev->features[3] & LMP_RSSI_INQ)
events[4] |= 0x02; /* Inquiry Result with RSSI */
- if (
hdev->features[5] & LMP_SNIFF_SUBR
)
+ if (
lmp_sniffsubr_capable(hdev)
)
events[5] |= 0x20; /* Sniff Subrating */
if (hdev->features[5] & LMP_PAUSE_ENC)