Skip to content
Commit 7f4f0572 authored by Ville Tervo's avatar Ville Tervo Committed by Gustavo F. Padovan
Browse files

Bluetooth: Do not send SET_EVENT_MASK for 1.1 and earlier devices



Some old hci controllers do not accept any mask so leave the
default mask on for these devices.

< HCI Command: Set Event Mask (0x03|0x0001) plen 8
    Mask: 0xfffffbff00000000
> HCI Event: Command Complete (0x0e) plen 4
    Set Event Mask (0x03|0x0001) ncmd 1
    status 0x12
    Error: Invalid HCI Command Parameters

Signed-off-by: default avatarVille Tervo <ville.tervo@nokia.com>
Tested-by: default avatarCorey Boyle <corey@kansanian.com>
Tested-by: default avatarEd Tomlinson <edt@aei.ca>
Signed-off-by: default avatarGustavo F. Padovan <padovan@profusion.mobi>
parent 26e7acf3
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment