Received: by 2002:ab2:1149:0:b0:1f3:1f8c:d0c6 with SMTP id z9csp2964706lqz; Wed, 3 Apr 2024 13:53:32 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXgAy8EV7cpTZdlcUDNY/mVuey/XOZKUjb1bKhnyLhfH2LDUy4mLHaUoH45T+M7bOa4HYcw9Jx8vkpX/anL7tPoOvz9qe4j2mIYy89ZLw== X-Google-Smtp-Source: AGHT+IG3bAkPzLIRvq3JJ+p3vM4aSQhXNsT0M7iQn4tHRbLG9gHKvfkbhlDDygbUeKEdY/XcSwE4 X-Received: by 2002:a17:902:6b0a:b0:1e0:11a4:30e0 with SMTP id o10-20020a1709026b0a00b001e011a430e0mr432044plk.19.1712177612174; Wed, 03 Apr 2024 13:53:32 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712177612; cv=pass; d=google.com; s=arc-20160816; b=p0cguroeyuu57ZyVpOqdbr+Kq1sdMFoZKeV5zYzxbBtQ7YVMjlBeqbKrZsc6WWxvPl +CtcPS/mkgYCvMx6GMjXJiP5oupX/4xS4KAgmqwmVGcB20EColkkVLh55TzwNW8Din6E iVepRCfgAV6k3ULQOKhB0QNU9O8ahgQQqwH1HuOHSBJfefYd5+S2Z9gLJFsfbne2mKRW Zvaxq9FI8qHAomYQWm/t3w6d5t0f5f1wbn/EFJ377o0BucJhGdcOPGdXEvQUVEEySMDz URt96zhe1UNofZtOrEKK+VlpzEA1HJ3E4KS66rcOKtKUhS5+vgL+MG4XZTtqT0fNdR4a l4EQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=pHJ8MXql5Y2LoY4bPduKnVs3WStY3AN4YA6LVK9wANY=; fh=QvLe9xSQ7zlfGAr+dqnfPkt50uL0YuAdQlMdBJrVoy4=; b=jgrLdRcidCNDfOC0Mx7qUfuC3l97ZeN6rXe5VZGhCkE389tigPMZ37SD+1Xfu1gwSr wzuvYYsv2TGbTXMEsnVp6T4aHIkSInQJ2fajqkm338HSmCFwBEzaEUCY468ftTv4/W4q xwMKkK+0Lp7lqz4dXRhuzELRp0RD8jcJSJS3zC0sdJceXj+aD7oJw+wA21g7HqMVyUWq 46gpU1GUeu2CovvXymteTLtu1yQDoo6pgRK/FYgWkNBqomE+kaB3Z/8Gots3ObzAbROL Ozn+41XRJvN++wQDKkKB67HL/LSE9GpQ1xh74sbM+DPbRkJHUh1le+xmh+fB2UT22ZBe SgWw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=gZjL6EYT; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-bluetooth+bounces-3181-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-bluetooth+bounces-3181-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id b13-20020a170902650d00b001e2a5ce8dc4si440356plk.273.2024.04.03.13.53.31 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Apr 2024 13:53:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth+bounces-3181-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=gZjL6EYT; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-bluetooth+bounces-3181-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-bluetooth+bounces-3181-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 3BB48285548 for ; Wed, 3 Apr 2024 20:53:31 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 99D3415625A; Wed, 3 Apr 2024 20:53:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="gZjL6EYT" X-Original-To: linux-bluetooth@vger.kernel.org Received: from mail-oo1-f65.google.com (mail-oo1-f65.google.com [209.85.161.65]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id ACF8515538C for ; Wed, 3 Apr 2024 20:53:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.161.65 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712177607; cv=none; b=RfU/wKFdBoPqSZknUtkGlTMXSnmbmQNAGbQ7JsHh5B1LEZxGrkDVbBChjE+ctnCHH2aRtSzaHALzAv4dFDezv1KANR8M8exbVC9NrriIwmXY/T4QCRHIKUdD11hB5rFPl+5d3zZnpaLSBYDmrzZXgjl6lpXLz1wMI23BSK6iHvI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712177607; c=relaxed/simple; bh=ucgYXvcV9gUnnHopviv7eHg1gM4m1vSITIxqt3bjUWs=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=kND5CVLn1ECtibWEn4lLDSFtz/YmrRBqkYwT+WUt90SIVr5zUnCW2DtgAHnVgyoH8tJG+dud4j6KRf+RTrww0Y7gVf9O/c0Fqk9FypG6Q9mGDCB8KlK+JDfx49+clE9fIam2gkSNIDjDiOhpAFecGBgX+o9ph0ZNOs7RmN30j+k= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=gZjL6EYT; arc=none smtp.client-ip=209.85.161.65 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-oo1-f65.google.com with SMTP id 006d021491bc7-5a9c71969f1so188415eaf.0 for ; Wed, 03 Apr 2024 13:53:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1712177604; x=1712782404; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=pHJ8MXql5Y2LoY4bPduKnVs3WStY3AN4YA6LVK9wANY=; b=gZjL6EYTEzUZW5SXiDBF/uiU2yk71IsWya9zfIpnknNU6MUAW69lCNts8h7HR+t4h0 V92H/fV48cXO7n/iedfnmP6l5faSYYWs1ZEuCgQHUWzCq10Bju6nYnDtRMTkYMWOLMaU umnESrZOvOTxwGaT2/HXG8XAu/VA020HLXVr9XrbLgrSx5aGJvWRUuMb3z0WJut+OOnY cK/6tpE01N3lhyvdMDg+AOKelxf4WyMp3r6klY/L3NOOoZA0IrLuHLykwncdB4KzZcrg Th7Vx7J+I9o1d+l9P5kebWaOAPBfAT/1DA+Rhf+LBnWLHUxqteISK6p3xE7ZH30/aGVe /GYQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712177604; x=1712782404; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=pHJ8MXql5Y2LoY4bPduKnVs3WStY3AN4YA6LVK9wANY=; b=UsRWspddNmr9xLCsn0PBW1qqWaqQjXHlBA6PE+e2uV0umx9EIP0F0wd9XQVX4AS4S9 /53oGH5T7vVwtbY/ROy6K4ypL/RnHSKPmj/3dGNmI0JQNWcA2Fvh0Pmp7mgzX76dDWEO 2eXxrvZPO5d1tfqc+lZbp2xaKKQomxs1OBTWvLmk8k0kw4pBIe7Ukc6ivFqMnee+trSD hPG50JQ10a5xxSA2sYSYVwu5bmACAHfxfmOQFh37vkleemEHCivPXf/YIRjBBBjDAW4t EnRRWJd1kVmc5g10w8gXA7Z7cmZnuFpA2lOOaTjpDiCRf9we463jhs1TThMEemgVr++A mhBQ== X-Gm-Message-State: AOJu0YyQLKXWx0p1/HS05VQLbjUx0pY7W7afWiQpNZ6DgZTje19ds+kz mmHf4gRdsb654Ey0drs0T7BvuSKyropnB/1HMawsV8xdAoFAmugKAZEfFX1TnQWpuQ== X-Received: by 2002:a05:6358:429d:b0:183:645b:cf8d with SMTP id s29-20020a056358429d00b00183645bcf8dmr416612rwc.16.1712177604303; Wed, 03 Apr 2024 13:53:24 -0700 (PDT) Received: from angua.lan ([2600:3c0a:e002:7f00::1001]) by smtp.gmail.com with ESMTPSA id i18-20020a63cd12000000b005e438ea2a5asm12159259pgg.53.2024.04.03.13.53.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Apr 2024 13:53:23 -0700 (PDT) From: Dimitris To: linux-bluetooth@vger.kernel.org Cc: Dimitris Subject: [PATCH BlueZ 0/1] Fixes busy loop when disabling Date: Wed, 3 Apr 2024 13:52:51 -0700 Message-ID: <20240403205252.71978-1-dimitris.on.linux@gmail.com> X-Mailer: git-send-email 2.44.0 Precedence: bulk X-Mailing-List: linux-bluetooth@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Reverts a commit which causes bluetoothd to enter a busy loop if BT is disabled (eg. rfkill block bluetooth) when one or more devices are connected. Steps to reproduce are described in these reports: https://github.com/bluez/bluez/issues/785 https://bugzilla.redhat.com/show_bug.cgi?id=2269516 Dimitris (1): Revert "device: Consider service state on device_is_connected" src/device.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) -- 2.44.0