Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp1153920imw; Wed, 13 Jul 2022 14:49:09 -0700 (PDT) X-Google-Smtp-Source: AGRyM1t88azno1TEPlQWbPYQ3HKe1WUTgQlvd6BJTPTPFY9Y3dQMQNzVIBI8GuJQR2T2LnhI5930 X-Received: by 2002:a17:906:106:b0:715:7cdf:400f with SMTP id 6-20020a170906010600b007157cdf400fmr5627014eje.1.1657748949661; Wed, 13 Jul 2022 14:49:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657748949; cv=none; d=google.com; s=arc-20160816; b=etFCnEMIEnpE0Zj2o2Oh4nsJbnifYqlQCANS4mERaLuu9EJmQn9qjO6qusKH6pKlCd sQL+Qh2Nu4QqVPT2F43eeJNyP1vWKlhO7zkiK/9UmGRBReGssjaB2bt43N0uY1ojlPe9 yKYet3Pj9XU+enc+DTqqDSd+V8tOrOGYS3ZkHiAaatcJbAwsIv11w6I0zD602S1pmQZM nff+xb+SlagvCCvyzXy6Us9yVlEi5YIlu0WO+HrE1kVQi9Q5AxbbKHCjd/iVBWEusgex 6rW9EEDn6InL54/6GDUd4jFOHbR8uzGp3vqhW7Yrp/vJTA5fFHuxtYBnf3P+9Md8NoeP cq4Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:date:message-id :from:subject:content-transfer-encoding:mime-version:dkim-signature; bh=pcAypooj8ZZUeUeAPeqJkQFolzqRFmwY06dhjbomc28=; b=rVhp5y91STIPKO0p/CnWpAM/leRRMLNtLDdnBijeQeBRjquXitYjghXf9GpBlh3hQT HZA0F/qtQYhl88e3pMl82wzHU4yP+jWIPcXvqFvM8cMDzk8GOr+u2mDb58YVgqVN7wAq cpq48ZesnD359fD6hx0ABytwWqseyxvCv4B7m0ZDNxY3SYF3ZQaTyUzTRbrC8RKtKIcA d7h0WwVfefPyZICaCDGdnRAWipP3YjaZkZUPgTY0sNQZfeqMX8Tsq8B+DFFckPQ1wcAK WHaqXUkeu1/ieHztfinaYShd7GDjOa/xGJq4LCEuXi9cKgvhRoAc7ADDJ5XlUwR2iVaO Ofaw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=kqfSYD+q; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c30-20020a50f61e000000b00437d7316b1dsi20375749edn.528.2022.07.13.14.48.27; Wed, 13 Jul 2022 14:49:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=kqfSYD+q; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231663AbiGMVaR (ORCPT + 99 others); Wed, 13 Jul 2022 17:30:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51306 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230142AbiGMVaQ (ORCPT ); Wed, 13 Jul 2022 17:30:16 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1902E22526 for ; Wed, 13 Jul 2022 14:30:16 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id D189DB82164 for ; Wed, 13 Jul 2022 21:30:14 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id 9857BC3411E; Wed, 13 Jul 2022 21:30:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1657747813; bh=/792nyPC6YrjUe79m2cJ7mTF6PTa4Ld0sW5V9G1lctA=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=kqfSYD+q/O0M+B2GHFn17aPC9FOy5GHsvHb9glKVjc2i+ucZ1HjUoV8rn7D84sezw nBp9vfpA4MTab570xOYeG8ZNf0bVL8Fn7wqZikEHRHpR4qUpzOxQQJZMMFzY9fyqzm O8p2UuI1NYT90zShx8lzHSTeOPlD6bqKQHI4D4d2BpGhhY6ktqxZih8eIm5BmGY6g6 RF29XeHQgmOnO8Em3cCeUItl04O/EZDcvfgGKCNCF2uy2uIJ10ub+/L+Q9yJ9jM7Jy pvvk2CmwTngl0R8fdLH/zVY1elPE0J2K2+nylGuHS2KQHl89LPULDZswcbNZaA6gaX FEEB8gWWC/Dkw== Received: from aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (localhost.localdomain [127.0.0.1]) by aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (Postfix) with ESMTP id 7AB28E4521F; Wed, 13 Jul 2022 21:30:13 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH BlueZ] adapter: Fix advertising monitor on Linux 5.12-5.17 From: patchwork-bot+bluetooth@kernel.org Message-Id: <165774781349.16220.9847778229088259152.git-patchwork-notify@kernel.org> Date: Wed, 13 Jul 2022 21:30:13 +0000 References: <20220630073958.34468-1-adrake@adrake.org> In-Reply-To: <20220630073958.34468-1-adrake@adrake.org> To: Andrew Drake Cc: linux-bluetooth@vger.kernel.org X-Spam-Status: No, score=-7.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Hello: This patch was applied to bluetooth/bluez.git (master) by Luiz Augusto von Dentz : On Thu, 30 Jun 2022 00:39:58 -0700 you wrote: > The existing code assumes that, if a device supports advertising monitor > offload, DEVICE_FOUND events can be ignored since the kernel will send > ADV_MONITOR_DEVICE_FOUND events instead. Unfortunately, these new events > were added in 5.18, but offload was added in 5.12. This patch adds a > check on the MGMT API version so we can process the older DEVICE_FOUND > events when the new events are not supported. > > [...] Here is the summary with links: - [BlueZ] adapter: Fix advertising monitor on Linux 5.12-5.17 https://git.kernel.org/pub/scm/bluetooth/bluez.git/?id=a69fa692b094 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html