Received: by 2002:a05:7412:98c1:b0:fa:551:50a7 with SMTP id kc1csp1244404rdb; Sun, 7 Jan 2024 10:03:39 -0800 (PST) X-Google-Smtp-Source: AGHT+IHsuI6hPkdIJLULCHmD9iI7F6d1iZn8g5XU9juIfiRp+Ei5W4s8hPT81LNhjquareBhJjY+ X-Received: by 2002:a05:6a00:2fdb:b0:6da:6c33:f269 with SMTP id fn27-20020a056a002fdb00b006da6c33f269mr623024pfb.25.1704650619158; Sun, 07 Jan 2024 10:03:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704650619; cv=none; d=google.com; s=arc-20160816; b=oobRe/3aOKNvKqHzGBQ67tgc0aSnlF0zS8lNLnsg4wIDgerRZeM6PLgnMH04goJFGq SshPFjsD6YUaDM0w5GWGadVrfnRw/aoagFxTDMFbAIYFAR0R+VJqNVhB45uYd5a7Z21B ts2Rl0qDCQfcXWGxXsfCVRQetmg66xrKygsSTtz2cThDncGzC1HhgWvdd9kL4LX9U8cU dIcc0JnBY3Rmv8g2GQL5hDvop20Kg3Am0rcOWqdBo0nDcnFSe2deS7Fmf0vbaQ69JuZy /TatVnPyYEKaHubFdV/trNEpBh+altz5uU5mR0y3ru7A22/47GgLWiktOQkgCAWE9QAh u4LA== ARC-Message-Signature: i=1; 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:references:in-reply-to:message-id :date:subject:cc:to:from; bh=BRBLKvI85gKxwt/MZ0dWAOM6hKHOZ1H0DLsqRVmVE7o=; fh=S5rf2bc7VLlSXYQ0EqFAIodb1qEiUfsxulvZhQKZRws=; b=P4ChsJfvQ1jYvqdoKyUFYpb5Abmp8laCNQfSL3G6e3qEkRswBRNbGXN1IV4vNa8duR rCnGCqfVnOMjZzVwD3HGL8n3tuolFUnORIp5E1Tqu2hGks0Ara7fTK/YcMOWUO1Trz8Q OEAlKoAtLi+w/ku0SXJNWu7T0vxkgGZcVUjbqYgcM4enlfBcDqJiguSvk/wAUHMND5Si yLnXXUKblIUBiKnGgj070QaBXaqqHHlhXl8LeGbOuuLsQQOAdHu8mR8W0td9KF8kCKKi tQfqFdfwO2c7mQ+EGlhbrsew43SEotykp0yF95Wyd5Elp8L88GATpxlykMalFuA9bnwR f7UA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-bluetooth+bounces-937-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-bluetooth+bounces-937-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id 143-20020a630095000000b005ce05e5d57asi4698702pga.660.2024.01.07.10.03.38 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 07 Jan 2024 10:03:39 -0800 (PST) Received-SPF: pass (google.com: domain of linux-bluetooth+bounces-937-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-bluetooth+bounces-937-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-bluetooth+bounces-937-linux.lists.archive=gmail.com@vger.kernel.org" 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 D2F2828206C for ; Sun, 7 Jan 2024 18:03:38 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 96F7314280; Sun, 7 Jan 2024 18:03:13 +0000 (UTC) X-Original-To: linux-bluetooth@vger.kernel.org Received: from mout-p-201.mailbox.org (mout-p-201.mailbox.org [80.241.56.171]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6405F13FEB; Sun, 7 Jan 2024 18:03:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=v0yd.nl Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=v0yd.nl Received: from smtp1.mailbox.org (smtp1.mailbox.org [10.196.197.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-201.mailbox.org (Postfix) with ESMTPS id 4T7Q5x1MFpz9svQ; Sun, 7 Jan 2024 19:03:01 +0100 (CET) From: =?UTF-8?q?Jonas=20Dre=C3=9Fler?= To: Marcel Holtmann , Johan Hedberg , Luiz Augusto von Dentz Cc: =?UTF-8?q?Jonas=20Dre=C3=9Fler?= , asahi@lists.linux.dev, linux-bluetooth@vger.kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org Subject: [PATCH v3 1/4] Bluetooth: Remove HCI_POWER_OFF_TIMEOUT Date: Sun, 7 Jan 2024 19:02:47 +0100 Message-ID: <20240107180252.73436-2-verdre@v0yd.nl> In-Reply-To: <20240107180252.73436-1-verdre@v0yd.nl> References: <20240107180252.73436-1-verdre@v0yd.nl> Precedence: bulk X-Mailing-List: linux-bluetooth@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit With commit cf75ad8b41d2 ("Bluetooth: hci_sync: Convert MGMT_SET_POWERED"), the power off sequence got refactored so that this timeout was no longer necessary, let's remove the leftover define from the header too. Signed-off-by: Jonas Dreßler --- include/net/bluetooth/hci.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/net/bluetooth/hci.h b/include/net/bluetooth/hci.h index 111e8f8e5..cf5d6230c 100644 --- a/include/net/bluetooth/hci.h +++ b/include/net/bluetooth/hci.h @@ -426,7 +426,6 @@ enum { #define HCI_NCMD_TIMEOUT msecs_to_jiffies(4000) /* 4 seconds */ #define HCI_ACL_TX_TIMEOUT msecs_to_jiffies(45000) /* 45 seconds */ #define HCI_AUTO_OFF_TIMEOUT msecs_to_jiffies(2000) /* 2 seconds */ -#define HCI_POWER_OFF_TIMEOUT msecs_to_jiffies(5000) /* 5 seconds */ #define HCI_LE_CONN_TIMEOUT msecs_to_jiffies(20000) /* 20 seconds */ #define HCI_LE_AUTOCONN_TIMEOUT msecs_to_jiffies(4000) /* 4 seconds */ -- 2.43.0