From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4415FC43334 for ; Mon, 11 Jul 2022 17:33:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230126AbiGKRdv (ORCPT ); Mon, 11 Jul 2022 13:33:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37458 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229887AbiGKRde (ORCPT ); Mon, 11 Jul 2022 13:33:34 -0400 Received: from smtp.github.com (out-26.smtp.github.com [192.30.252.209]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 083D3CD0 for ; Mon, 11 Jul 2022 10:33:32 -0700 (PDT) Received: from github.com (hubbernetes-node-655f4a4.ash1-iad.github.net [10.56.14.49]) by smtp.github.com (Postfix) with ESMTPA id EE9A05E03B6 for ; Mon, 11 Jul 2022 10:33:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com; s=pf2014; t=1657560812; bh=2qAXoQFDsrlZy5JSQXKABtgRQG/XhfgCee5QnrPNnvQ=; h=Date:From:To:Subject:From; b=O5yEZTzp/chv7RHfoMLEZHZL4oPdvfVotkA1rFJ7QHu/f59eexRlB1T8rsUy0UEOY /bEf7yrbE/Szv5T0QK+ozKjcfasRZHS8ivKNcS19OrKI1sQlgenlWNY0tzJXfbmEal zf03Eu3Ok9loa1BZ5ABunxcZOEvpQE1HXOblWg9U= Date: Mon, 11 Jul 2022 10:33:31 -0700 From: Luiz Augusto von Dentz To: linux-bluetooth@vger.kernel.org Message-ID: Subject: [bluez/bluez] 163de8: btdev: Fix not checking if a CIG has any active CIS Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-GitHub-Recipient-Address: linux-bluetooth@vger.kernel.org X-Auto-Response-Suppress: All Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Branch: refs/heads/master Home: https://github.com/bluez/bluez Commit: 163de8e231e6e138ebfea710df8211f22d4b9b4e https://github.com/bluez/bluez/commit/163de8e231e6e138ebfea710df8211f22d4b9b4e Author: Luiz Augusto von Dentz Date: 2022-07-11 (Mon, 11 Jul 2022) Changed paths: M emulator/btdev.c Log Message: ----------- btdev: Fix not checking if a CIG has any active CIS Bluetooth Core specification says the CIG must be in configurable state in order to accept the SetCIGParameters: BLUETOOTH CORE SPECIFICATION Version 5.3 | Vol 4, Part E page 2553: 'If the Host issues this command when the CIG is not in the configurable state, the Controller shall return the error code Command Disallowed (0x0C).'