From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796398806; b=AoS6W+RKl379ERDUaYDIv+NXtwxc78pFO1MphbQtI1v5trX+Ne3qNQvW/12J0/F3z+VD pMhi0NRyoCXU34lCIGGHwLPPYqFB3j7S6WhJDGbGLNfa/uYWgfnm1YLFs/84F0T4RrgwR HkfYqDbPoWQzSffScPo4huvvak65REgtYwKqIhZBNchaYdSQyydjIHwc64byuOVlaxLQG i90tBm5fEvn6r3WyXAVmDqRFb9JHbjfpyWs3BeiGhdDkyaz8w6epSh9RDVqfgfGyvJljO XykTMlP5HdSOyVbjsfD5VE+NNFZg2/AfbeLNclAFYyDvvd6/of1YVXo0+zf2Cfx1AEA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796398806; h=Received:DKIM-Signature:Received:Content-Type:MIME-Version: Content-Transfer-Encoding:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; bh=0/k6/PKeL0+mAlkIBaOQW9xSt5lTdlSNE68xONGyJxA=; b=zvsqfJbfdf7gvJ4/yHt1DRxUDoPzbuirr/Qhm/9iLDDhbNq+iq4IpImr5CszBDOohbFU qvtSz5Wd8yFj6HwKCbnF3Zfzl9SDReZJZET+sGMt73VNfdAAB13rDifnVfLKYg6lC4tSh Pf+wvSBN/TMOB/8Eec8E7GI2umAorJxnT1xy41iG2VpLVlv67zfP+UKTBKN5YwZH51T4N hX+NU0hHfKk/ntRPAelsPoldiQowPahh2PuiDKeBh04/Vq2/mc9H77HOqK/wL7yYdIgHo 6sO+DiDxmQ/Y+nVWLU/ZEreHWF5npGdxdbD3fJnRpHzZPynouglSfH2Z49ZezQ833VA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=eIAYQsXV; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 496C2606A322 for ; Fri, 4 Dec 2026 15:40:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=eIAYQsXV Received: by smtp.kernel.org (Postfix) with ESMTPSA id 266FA1F000C2; Fri, 4 Dec 2026 15:40:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796398806; bh=0/k6/PKeL0+mAlkIBaOQW9xSt5lTdlSNE68xONGyJxA=; h=Subject:From:Date:References:In-Reply-To:To:Cc; b=eIAYQsXVV/8Qg/VRUUXyROmCPOX8OTTvbu9mVN9Dr9ckZbjhNwgVYtpomTA6oxtQh x95Rn2UV+IUZw/RoXdGxXOv00VQ0b9aGqiu/ZpEzRrSP786FnGf6JDxx44RkvT/MNS Jssa3ZuoIWtItPnt33UUjCcR+x2WFsq1cNb0nrd9vbQPg/K2BzWEAiY96sF0Oo7fnK RiSIwmuAxVYdxdJ/QeWR1ObqoznGWRKLFCTOfH94n6nnEC38MkcGmx9HUa/pAih9HU i6Beo1DuLO87bwHAwSunYcWUxVB4CrUBDbAe1fINM3X9Osvdzc0l9d8JSKryEGczFK XPDs7I669KoLQ== Received: from [10.30.226.235] (localhost [IPv6:::1]) by aws-us-west-2-korg-oddjob-rhel9-1.codeaurora.org (Postfix) with ESMTP id 1CB843808236; Fri, 4 Dec 2026 15:40:06 +0000 (UTC) Content-Type: text/plain; charset="utf-8" X-Mailing-List: linux-bluetooth@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH v2] Bluetooth: hci_event: Fix not emitting Device Connected event From: patchwork-bot+bluetooth@kernel.org Message-Id: <179639880490.1232901.12641050965610717250.git-patchwork-notify@kernel.org> Date: Fri, 04 Dec 2026 15:40:04 +0000 References: <20261204140627.1150694-1-luiz.dentz@gmail.com> In-Reply-To: <20261204140627.1150694-1-luiz.dentz@gmail.com> To: Luiz Augusto von Dentz Cc: linux-bluetooth@vger.kernel.org Hello: This patch was applied to bluetooth/bluetooth-next.git (master) by Luiz Augusto von Dentz : On Fri, 4 Dec 2026 09:06:27 -0500 you wrote: > From: Luiz Augusto von Dentz > > If the remote initiates the connection and requests authentication > early, the Encryption Change event may arrive before Read Remote > Supported Features Complete. hci_encrypt_cfm() then moves the > connection from BT_CONFIG to BT_CONNECTED, and hci_remote_features_evt() > bails out since the state is no longer BT_CONFIG, so the path leading > to mgmt_device_connected() is never taken and MGMT_EV_DEVICE_CONNECTED > is never emitted. Userspace then services the connection without > knowing it exists ("Authorization request for non-connected device!?") > and Device1.Connected stays false. > > [...] Here is the summary with links: - [v2] Bluetooth: hci_event: Fix not emitting Device Connected event https://git.kernel.org/bluetooth/bluetooth-next/c/add478b0177d You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html