Bluetooth: trivial: correct check for LMP version
[deliverable/linux.git] / net / bluetooth / hci_event.c
index a3e83aa92ecddcb146ea3131525850b668fb5979..35cb56ed3b0b05e988a4229517df793ca242f7eb 100644 (file)
@@ -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 */
This page took 0.02465 seconds and 5 git commands to generate.