Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp40224pxb; Tue, 12 Apr 2022 16:11:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyqmutQHJX1oUJVo9YjQJ4h8nilkBHr2YpmZ3UPa4qxnR9P6SlZDjHYsn3cusrKZNRAVVfZ X-Received: by 2002:aa7:8385:0:b0:4f6:ef47:e943 with SMTP id u5-20020aa78385000000b004f6ef47e943mr40996011pfm.38.1649805111641; Tue, 12 Apr 2022 16:11:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649805111; cv=none; d=google.com; s=arc-20160816; b=c8DcnIFH11FOwwFFnewtP3jApOpfzjVsh3STYJaJWkSjPVxTOq7KQ3Q9WlTwxYQhrR wwdlTPBl6c8A7GOdrNdj6WUdOc3P5YXrgFhl91UbHJNLTtrQY8HmcP+AGJRk2IBvWHAt JGjQzqJrd+RlJ60CUlY3XsQGN9RLtrnZZlzeNdBsXX5AR0RkHfqcByt9TVUClQCc/GfL hFRRtIEx0y2T2mZaPN8FXULLgLjhbsY5wmK0bPlVozv/QcWRtLBStAOin3XwG0l+TF1K i7RBLwXgYqtYhJ5CmgdYEIj2LO3IAHOa8IA2crckawYOGypbfS0cP/seqjMDKTJMkKx9 IYgg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=c2NI5s/Kez96wW+pQ6PCtyv/K39rhndqtpgMQoIhFWY=; b=mmbbUdokQLS/KPATM2saR7LXjqo+sRwRhYxk0SBXauZZBnIIcS9EKXHJCBkN/oSklc pXdTFNNhVfyE7GHHO4WbOoYKy5jg1YP00uq/oBjf0VSe3AsPFhrj5LwXp1s+zwzpf+hI Yu6/gNnKWxBYvJYPOBo3pVn2As2Fhkbm+6IXk7of0znRK1+u1p+OzMTYKOpeVSkOS5oj F+tFsxO6mFQp3hypswBw1+RH9IqC/0dNbuBhSP4zPJBZJOpMtPA/5vpj9sfbeS0FWj6l iMziGvwB/I3SCpBzjrI1+pQ+JHpLUI8viILZO0plGQTeFR1JL62Plv7w2ZoGh5yl+8FM sIhA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@hilmer-dk.20210112.gappssmtp.com header.s=20210112 header.b=iePKsxU+; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id m127-20020a633f85000000b003816043f10csi4694170pga.769.2022.04.12.16.11.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Apr 2022 16:11:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@hilmer-dk.20210112.gappssmtp.com header.s=20210112 header.b=iePKsxU+; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email [IPv6:2620:137:e000::1:20]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id CB34B1403E0; Tue, 12 Apr 2022 14:54:11 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233216AbiDIKEk (ORCPT + 99 others); Sat, 9 Apr 2022 06:04:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50706 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234860AbiDIKEi (ORCPT ); Sat, 9 Apr 2022 06:04:38 -0400 Received: from mail-lj1-x22c.google.com (mail-lj1-x22c.google.com [IPv6:2a00:1450:4864:20::22c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1197D22C1C6 for ; Sat, 9 Apr 2022 03:02:13 -0700 (PDT) Received: by mail-lj1-x22c.google.com with SMTP id g24so14279803lja.7 for ; Sat, 09 Apr 2022 03:02:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hilmer-dk.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=c2NI5s/Kez96wW+pQ6PCtyv/K39rhndqtpgMQoIhFWY=; b=iePKsxU+Q6sXSXveE08KYsh9iYtxVkwbjOIO2lwrOeFvCp68ER5IMDSUJt3eyneWC+ RmVp2W7/XA+mjpM2tNH+CZ4sBphR6jTEJWdRe9UqnNljt+7YthSahJI84cHYqfnbNPbI 2DvC9hpqiFJxXuCs+FnLDmpPyAZ1NP0g+ULB9xCWYG6ScPZjsx5eYwYYNt4UlW8am+m7 mMCs2IhoU0Iirczx0YAPoe4eRahfKda5pBpHe04VGxlgLcZK/FrVBmePEn2CIpHf8zy7 4FgtjEEFGuJNyRQep5ZGJa87LgbPyApxBMqUbCbVpS1r0Hul5n+GXYzNnPtUJp7Dngwm eqcQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=c2NI5s/Kez96wW+pQ6PCtyv/K39rhndqtpgMQoIhFWY=; b=C1c39htI+TsFvvv72m0AmgO2ie4/Qj3Uecf7mTYb/CsIKWn2P1XKqPmXr7YHLBP+uI T0g4/rqlhtZDGp0q7yV9EZk3xTb5e3VidbVRvHDSaphcnyVkL1dWNa10GDemKQuTLh5B JuuJ7vDNle7X22P2B5uYhlQdmpvBWtpbK4xaXGdmw2zDqk/FBw9hKvd14Lx2dw0IZn/g +vUIgVYRze9c8mXbgkPhHRA1/N5kutwt8xL7/4QmIMBUk9oYXnRjPn2i1A2UFrZ0g6q7 +dwKPJa17noL4VI8gyq83spdjan3DMoJuzDtkpJsl7BKCbboqfnVXoASB1KRNTz0NnAF 0/Og== X-Gm-Message-State: AOAM532xemPC6K1TIeg6mKdqNej11mLsE8ZLynXhR0pGvIOpmrnwhYIT sY9hWWWosNTVUq1ByyqWCbOd+3uCpBq+1lsf X-Received: by 2002:a05:651c:179c:b0:247:e1b4:92aa with SMTP id bn28-20020a05651c179c00b00247e1b492aamr14643792ljb.55.1649498531065; Sat, 09 Apr 2022 03:02:11 -0700 (PDT) Received: from jakob-nuc.lan ([185.229.152.125]) by smtp.gmail.com with ESMTPSA id i16-20020a056512319000b0044ae52c6365sm2471759lfe.88.2022.04.09.03.02.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 09 Apr 2022 03:02:10 -0700 (PDT) From: Jakob Hilmer To: linux-bluetooth@vger.kernel.org Cc: Jakob Hilmer Subject: [PATCH BlueZ 0/1] adapter: Fix check of DISCOVERABLE setting Date: Sat, 9 Apr 2022 12:01:29 +0200 Message-Id: <20220409100130.9743-1-jakob@hilmer.dk> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 While debugging problems with BT discoverable with an older version of BlueZ. I stumbled upon this error - Two places the flag of `current_settings` is checked against MGMT_OP_SET_DISCOVERABLE instead of MGMT_SETTING_DISCOVERABLE. Jakob hilmer (1): adapter: Fix check of DISCOVERABLE setting src/adapter.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.25.1