From patchwork Thu Mar 26 05:45:16 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Abhishek Pandit-Subedi X-Patchwork-Id: 11459319 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id D66EA14B4 for ; Thu, 26 Mar 2020 05:45:24 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id B6ACD207FC for ; Thu, 26 Mar 2020 05:45:24 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="XC6J2i/F" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726340AbgCZFpX (ORCPT ); Thu, 26 Mar 2020 01:45:23 -0400 Received: from mail-pf1-f178.google.com ([209.85.210.178]:35763 "EHLO mail-pf1-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726138AbgCZFpX (ORCPT ); Thu, 26 Mar 2020 01:45:23 -0400 Received: by mail-pf1-f178.google.com with SMTP id u68so2246676pfb.2 for ; Wed, 25 Mar 2020 22:45:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=bP9A1YZQDo91LDYo/6KoY0c2wBmpDuHg+6Vks+B9y90=; b=XC6J2i/F0WRhw9aQeuGQ/abxXmpETM+76JaP3zU0LH2dA8EVb4SkfS5+OE7Y9X3UhO 13DhHAikYxzxifdgGQE/6pidn+E3YVBHiYs4iWfF/HzeULzHQvAEGIqcd+sAVIm20Ymb 0X/YTYTrhpFgddL0Serq3mb7y/GuPQYa7f0M0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=bP9A1YZQDo91LDYo/6KoY0c2wBmpDuHg+6Vks+B9y90=; b=gKcM1+OM5lNOzIPug/B55J+1oVS2f4hNwWLwoBAGHn+yGYdYRsI60FmOIf2yCDRu85 IqCUNkSjm9n1XvENfVJHa+qSjlC2upvhf/N2zOlxq857LvkBkhzHTTa1UauZILS7dVcU rW8/4GI30ZTwQmG7Eb/FNaG9/TmetO/f3R4Q2shzY0zP+K3306O78DIZfjmhrrCpDuSM a+ZpzhcshScyLtg8qPr1cV4wgcxEFyFCYO5ttekSVNClZLzfF2ZI4yS+eP7+YkmF3eU2 QNsbok/e52nPo2+4Eh/HxwdAmcuaXppUyZBIAbviOPSuHuVG9x8fspmkofvuA59Uzghn L3Bw== X-Gm-Message-State: ANhLgQ1+sWP9TLjRUG8Uhm4xamiDswRUpUwrTEqNSUikB3FYNz+mGmPv PZvVFbtm0Ihke+Po/q3LFN9DwQ== X-Google-Smtp-Source: ADFU+vv4lcfr85S/TT7MJ8OdAlRUFTZHdQtIftkjB93CEHoO5lWO6VZjKfVhvupSb7NpHwtm6iwGmg== X-Received: by 2002:a63:cc43:: with SMTP id q3mr6947155pgi.63.1585201521752; Wed, 25 Mar 2020 22:45:21 -0700 (PDT) Received: from apsdesk.mtv.corp.google.com ([2620:15c:202:1:e09a:8d06:a338:aafb]) by smtp.gmail.com with ESMTPSA id d1sm727302pfc.3.2020.03.25.22.45.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Mar 2020 22:45:21 -0700 (PDT) From: Abhishek Pandit-Subedi To: marcel@holtmann.org Cc: linux-bluetooth@vger.kernel.org, chromeos-bluetooth-upstreaming@chromium.org, Abhishek Pandit-Subedi , "David S. Miller" , Johan Hedberg , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Jakub Kicinski Subject: [PATCH v2 0/1] Bluetooth: Add actions to set wakeable in add device Date: Wed, 25 Mar 2020 22:45:16 -0700 Message-Id: <20200326054517.71462-1-abhishekpandit@chromium.org> X-Mailer: git-send-email 2.25.1.696.g5e7596f4ac-goog MIME-Version: 1.0 Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Hi Marcel, As suggested, I've updated add device to accept action 0x3 and 0x4 to set and remove the wakeable property. Thanks Abhishek Changes in v2: * Added missing goto unlock Abhishek Pandit-Subedi (1): Bluetooth: Update add_device with wakeable actions net/bluetooth/mgmt.c | 57 ++++++++++++++++++++++++++++++++++++-------- 1 file changed, 47 insertions(+), 10 deletions(-)