diff options
author | Andrei Emeltchenko <andrei.emeltchenko@intel.com> | 2011-12-01 14:33:28 +0200 |
---|---|---|
committer | Gustavo F. Padovan <padovan@profusion.mobi> | 2011-12-03 08:28:17 +0900 |
commit | 5a13b09531420d230616bd524b68a5b0c23cd487 (patch) | |
tree | b95db310878d5543a9bcb329b08e3b672b14da4e /net | |
parent | d095c1ebd43a43c1d78055ff111f464b04f8624e (diff) | |
download | blackbird-op-linux-5a13b09531420d230616bd524b68a5b0c23cd487.tar.gz blackbird-op-linux-5a13b09531420d230616bd524b68a5b0c23cd487.zip |
Bluetooth: trivial: correct check for LMP version
Make sure that code match exactly what comment says about pre 1.2
bluetooth version. Since this is HCI detail lmp_ver changed to hci_ver.
Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
Diffstat (limited to 'net')
-rw-r--r-- | 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 a3e83aa92ecd..35cb56ed3b0b 100644 --- a/net/bluetooth/hci_event.c +++ b/net/bluetooth/hci_event.c @@ -500,7 +500,7 @@ static void hci_setup_event_mask(struct hci_dev *hdev) /* CSR 1.1 dongles does not accept any bitfield so don't try to set * any event mask for pre 1.2 devices */ - if (hdev->lmp_ver <= BLUETOOTH_VER_1_1) + if (hdev->hci_ver < BLUETOOTH_VER_1_2) return; events[4] |= 0x01; /* Flow Specification Complete */ |