Re: [PATCH] Bluetooth: hci_sync: Disable legacy instance's ext adv before setup snapshot

[email protected]
Newsgroups org.kernel.vger.linux-bluetooth
Message-ID <178612021163.1887768.9268794228090241757.git-patchwork-notify@kernel.org>
Hello:

This patch was applied to bluetooth/bluetooth-next.git (master)
by Luiz Augusto von Dentz <[email protected]>:

On Wed,  5 Aug 2026 01:40:51 +0530 you wrote:
> hci_setup_ext_adv_instance_sync(...) only disabled
> HCI_OP_LE_SET_EXT_ADV_ENABLE before setup snapshot in case of non-legacy
> instances (instance > 0) and never disabled the same for legacy instance
> (instance == 0). This would lead to failure in setting ext adv params
> with HCI_ERROR_COMMAND_DISALLOWED (0x0c) error like below, when toggling
> the discoverable/connectable property of a controller with advertising
> enabled.
> ```
> $ btmgmt advertising off
> hci0 Set Advertising complete, settings: powered ssp br/edr le
>   secure-conn wide-band-speech cis-central cis-peripheral
> $ btmgmt connectable on
> hci0 Set Connectable complete, settings: powered connectable ssp br/edr
>   le secure-conn wide-band-speech cis-central cis-peripheral
> $ btmgmt connectable off
> hci0 Set Connectable complete, settings: powered ssp br/edr le
>   secure-conn wide-band-speech cis-central cis-peripheral
> 
> [...]

Here is the summary with links:
  - Bluetooth: hci_sync: Disable legacy instance's ext adv before setup snapshot
    https://git.kernel.org/bluetooth/bluetooth-next/c/2d4711f5ad1b

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.