Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp6546771rdb; Tue, 2 Jan 2024 05:43:35 -0800 (PST) X-Google-Smtp-Source: AGHT+IGsDmr4Ld7tiM1jSt3R/UUHpX9Y6zDCYMB3w6YUcC9luM7bLx13iVxp4lMaSjNnuDe/X4fS X-Received: by 2002:a17:903:1247:b0:1d4:cba6:6116 with SMTP id u7-20020a170903124700b001d4cba66116mr279306plh.130.1704203015166; Tue, 02 Jan 2024 05:43:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704203015; cv=none; d=google.com; s=arc-20160816; b=v0fiK6WK1bQzR2j1LJAGY+ZN41TeA0WXuCf0fTiJd2fpOn7ypLCWuGRzaOf7Ncceg2 PtouWVMhiWyghe9C5K6p2PfVCjfRQ1QnlomLln8HU6IH4pWXUA/n7u8yd8UZHnidz+/s R6+ASntZgXOmmgrk86EhfdxDUfqp1idg9KbD/lkTX7shOK0yF6Ru/9UKT4dmEqMyLS+0 NznhDkUsSAGhK5MyzAOAo2BPAcPFf1tJ1yzdcRSQBDyDQ7EmlaorjX3OkH+HyN9M0k6W SmmUZb6G0TRSo4AAw/MVhAOcGRIKzFxU4OO2erbNY93Zy2mkLMDYJBs8hW6HSJxievm+ PAxQ== 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=nODm6EQDjhZ3dpYRgjvcp1ORTUFigjUok9mHqFbxD8E=; fh=S5rf2bc7VLlSXYQ0EqFAIodb1qEiUfsxulvZhQKZRws=; b=a8QB05XTXDuP7pzVsFkGHuke3TEFkJ0wl74RnkijGAz4ldWgEALM7Cyg6cCiHp3/Uf njriD5gCnuqa/zmqguV7PV1nX/VjPJG9AOHCk+mIjXyY1aCiMD71hB3HnULWkFcRurE9 43nL1INwrVStSh0Bhl32GoKNbxaLArYaHQ+pY/scoTVZ233QZO/FBqecthA38HU/NUid Se7M75Cqa8n5F5566xvEt15IGqhuYnDfRjvhZFg22misSXUN8mOYJVH8Y/V24Jf4/rZC nnsIE118wy8h5eDzmdDWn/XBBIzaUCT3WzuTdH7Iam6NS6wxjqRymx+SIuQqpbZZW8YW ExqQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-bluetooth+bounces-807-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-bluetooth+bounces-807-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 q20-20020a170902789400b001d49621cb08si7481068pll.200.2024.01.02.05.43.34 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Jan 2024 05:43:35 -0800 (PST) Received-SPF: pass (google.com: domain of linux-bluetooth+bounces-807-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-807-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-bluetooth+bounces-807-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 D29D4286C49 for ; Tue, 2 Jan 2024 13:43:34 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B829212B91; Tue, 2 Jan 2024 13:42:51 +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 D7ED311CB8; Tue, 2 Jan 2024 13:42:48 +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 smtp2.mailbox.org (smtp2.mailbox.org [IPv6:2001:67c:2050:b231:465::2]) (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 4T4DM34RLKz9sWY; Tue, 2 Jan 2024 14:33:19 +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 1/4] Bluetooth: HCI: Remove HCI_POWER_OFF_TIMEOUT Date: Tue, 2 Jan 2024 14:33:07 +0100 Message-ID: <20240102133311.6712-2-verdre@v0yd.nl> In-Reply-To: <20240102133311.6712-1-verdre@v0yd.nl> References: <20240102133311.6712-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 X-Rspamd-Queue-Id: 4T4DM34RLKz9sWY With commit cf75ad8b41d2aa06f98f365d42a3ae8b059daddd, the power off sequence got refactored so that this 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