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:
54a8a79
)
Bluetooth: Correct version check in hci_setup
author
Andrei Emeltchenko
<
[email protected]
>
Wed, 23 Nov 2011 09:23:34 +0000
(11:23 +0200)
committer
Gustavo F. Padovan
<
[email protected]
>
Fri, 2 Dec 2011 23:20:00 +0000
(08:20 +0900)
Check for hci_ver instead of lmp_ver
Signed-off-by: Andrei Emeltchenko <
[email protected]
>
Acked-by: Marcel Holtmann <
[email protected]
>
Signed-off-by: Gustavo F. Padovan <
[email protected]
>
net/bluetooth/hci_event.c
patch
|
blob
|
history
diff --git
a/net/bluetooth/hci_event.c
b/net/bluetooth/hci_event.c
index d7d96b6b1f0d63b338e5ed58fb125fbc6290aff5..643a41b76e2eadf1f8f783eba1881392b563beda 100644
(file)
--- a/
net/bluetooth/hci_event.c
+++ b/
net/bluetooth/hci_event.c
@@
-545,7
+545,7
@@
static void hci_setup(struct hci_dev *hdev)
{
hci_setup_event_mask(hdev);
- if (hdev->
lmp
_ver > 1)
+ if (hdev->
hci
_ver > 1)
hci_send_cmd(hdev, HCI_OP_READ_LOCAL_COMMANDS, 0, NULL);
if (hdev->features[6] & LMP_SIMPLE_PAIR) {