• Luiz Augusto von Dentz's avatar
    Bluetooth: hci_conn: Fix updating ISO QoS PHY · 10b9adb5
    Luiz Augusto von Dentz authored
    BT_ISO_QOS has different semantics when it comes to QoS PHY as it uses
    0x00 to disable a direction but that value is invalid over HCI and
    sockets using DEFER_SETUP to connect may attempt to use hci_bind_cis
    multiple times in order to detect if the parameters have changed, so to
    fix the code will now just mirror the PHY for the parameters of
    HCI_OP_LE_SET_CIG_PARAMS and will not update the PHY of the socket
    leaving it disabled.
    
    Fixes: 26afbd82 ("Bluetooth: Add initial implementation of CIS connections")
    Signed-off-by: default avatarLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
    10b9adb5
hci_conn.c 66.2 KB