Received: by 2002:ac0:da4c:0:0:0:0:0 with SMTP id a12csp887429imi; Fri, 22 Jul 2022 11:47:05 -0700 (PDT) X-Google-Smtp-Source: AGRyM1taMo8C9k0bGMA7yL8ivClkGQB823vdPlQfPz0Y2qMQOg8nNUIfQPxK+U5YiLCjY5xIYF62 X-Received: by 2002:a17:902:cccf:b0:168:c4c3:e8ca with SMTP id z15-20020a170902cccf00b00168c4c3e8camr923404ple.40.1658515624999; Fri, 22 Jul 2022 11:47:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658515624; cv=none; d=google.com; s=arc-20160816; b=rC0r+KV66EQTx6khxY2CHHP+LeInV/nu+OSeG4A2fDwwtLU8os1MpHYvhUBHQYfJ3p mw3B30g+Jh70tc8/zyDz33cS3Lly4zm8SjZBfprdBe8gKE3PgzStTO2Klg/amJmAPXGB 3TqWzkB1RclBOJhEiQW2D6mlQbKf+up+awmePAbiUXj6O/x0ZJHeRm2WE6XSciFPn6MY FEwrdSNPtORIXZvI9m5HhlSapfERaHdbkd/kM/y3Is8uX4tykbHooQlve4DFc0sPYbbN It3e7LdtJoUfa3eVCMd90BZ5pfFMTI4OrGR8Jxr0puNUt1BWncLb8T7fuaVf563XAWQM GBkA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:from:subject:mime-version:message-id:date :dkim-signature; bh=3qqLBm0xV4mGiZiGED2yL3VCWOwhq7//Y+5w9DIVSJI=; b=I7uWBpaBGfsrnS6gHylKuXxZQk/Xm2me5/pAWc/dzxaMWsOfyEq23zgi2cS5RSxPlV zSLynikXvxFt1EZQBYEjwfCMv0Airtqa0Wb/tBxRxEiC/qNgN6u6/jct9ELqIutWSvEB ggdYxAoy4rxp4owsfaZxDkaUcoXa7XGVhEw0jtjSEXUXwxPeySzUWY2Ki1RjHRsINgei bp0BfuY15QLjG+7M0gD9ScWdHyU59AAM+kusPjb9TM0dSHyK27rPEuRPSjT2SMiFMiq8 ZSbiJA4+giuB3ZvLgp5mnIaE1ZLo9aUowKjtRiWNs2qGjXkNvFkAsNC/nzwIRsohkifw EwGQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=io+OBpMG; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u17-20020a17090341d100b0016bf6b732e9si3041823ple.359.2022.07.22.11.46.50; Fri, 22 Jul 2022 11:47:04 -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=@google.com header.s=20210112 header.b=io+OBpMG; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229679AbiGVSpD (ORCPT + 99 others); Fri, 22 Jul 2022 14:45:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57632 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234074AbiGVSpD (ORCPT ); Fri, 22 Jul 2022 14:45:03 -0400 Received: from mail-pl1-x64a.google.com (mail-pl1-x64a.google.com [IPv6:2607:f8b0:4864:20::64a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 091AA8CEAC for ; Fri, 22 Jul 2022 11:45:02 -0700 (PDT) Received: by mail-pl1-x64a.google.com with SMTP id i17-20020a170902c95100b0016d437630f9so938976pla.1 for ; Fri, 22 Jul 2022 11:45:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=date:message-id:mime-version:subject:from:to:cc; bh=3qqLBm0xV4mGiZiGED2yL3VCWOwhq7//Y+5w9DIVSJI=; b=io+OBpMGgliqn5b9xs9McUXAdcOR15jmgf3SbyuZYnVDFS8ZIpX0LqD7igItbqorGq +3/WJ6Bl3ItdBxn9CJ2961CIVCXupwiGrZ8IOW+VaAyJQl5wXeiEnjgxX2gSljfnrA5+ 5F0WWja4vsTmzVE0QIDeTs7zkbUd8phCHLQLc4DlTMrlxcMYu6GLKqJWAvwAzHiVWABT R7gPl+0yUBrtJMi13Wj/8oUGZ1N+QPfSDuTO8kL+34AskPfU8Bl6zmeybYfuhaRaaSJj zn9Vz023Y5Y2w/DpIpwdBqQz4JgtZ5QWOO3/URJD2gQviYmlFP5+ypSYDhtPMr93y9qs eqKg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:message-id:mime-version:subject:from:to:cc; bh=3qqLBm0xV4mGiZiGED2yL3VCWOwhq7//Y+5w9DIVSJI=; b=18e+SmkDvaONynJhOj/BBgZM2vBwJL5F1NOX+o/+8Vjb75IRKp6GScDeYV/ef0UBpm E6+XZSHW6SLzkfshlv6k/HL7PXXfifO3cQVTQ8w69X9zZLTzbAaVbn4vRdBnUMNs1Q+c h9BNeHhBbx13N27upx9iTzlAAj0+VQAMuNfYbAaqefsCFAujT/lpKomyPPMk+mvaAFsT LLpbrWRfdDZb9NUvppuxiAfVo6+n8hQxNTGY3El8iWIU7cm2VBgEGg6557jvkKqKpiRg zTwLbkq3PcZh75C8I+NGBXTjkP4QLBhMUwmDsKOD7AKaV8JfgiU/UFBQqCpHryQK94oa 9pVA== X-Gm-Message-State: AJIora97RYa/kArPCGdHMFhNDw0PU6wPZ454FOI4V9d1pyjBJtENZTq5 OKkHUwwOz60UH07TVb4RDvxCyvffa9ENrzpHOLRxvqvIjPobqw96xlAnr6EUUVT44JpM1YK1wwa BdSoDC9EBGDHT2dCMQXrfdJgVy8SxWE/H02mKuGEtdwMW0y123obduxAeUaiaID59zYbJTQfLti eq X-Received: from jiangzp-glinux-dev.c.googlers.com ([fda3:e722:ac3:cc00:7f:e700:c0a8:4c52]) (user=jiangzp job=sendgmr) by 2002:a17:90a:2a0d:b0:1f2:aed:ce18 with SMTP id i13-20020a17090a2a0d00b001f20aedce18mr999590pjd.91.1658515501311; Fri, 22 Jul 2022 11:45:01 -0700 (PDT) Date: Fri, 22 Jul 2022 11:44:54 -0700 Message-Id: <20220722184455.3926696-1-jiangzp@google.com> Mime-Version: 1.0 X-Mailer: git-send-email 2.37.1.359.gd136c6c3e2-goog Subject: [kernel PATCH v1 0/1] Bluetooth: Return error if controller not support ll privacy From: Zhengping Jiang To: linux-bluetooth@vger.kernel.org, chromeos-bluetooth-upstreaming@chromium.org Cc: Zhengping Jiang , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Johan Hedberg , Luiz Augusto von Dentz , Marcel Holtmann , Paolo Abeni , linux-kernel@vger.kernel.org, netdev@vger.kernel.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-9.6 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,USER_IN_DEF_DKIM_WL autolearn=unavailable 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 Return proper error message if the controller does not support ll privacy. Changes in v1: - Return proper mgmt error if controller does not support ll privacy Zhengping Jiang (1): Bluetooth: Return error if controller not support ll privacy net/bluetooth/mgmt.c | 6 ++++++ 1 file changed, 6 insertions(+) -- 2.37.1.359.gd136c6c3e2-goog