Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1703478pxj; Wed, 19 May 2021 11:53:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwm6xjL/oFuYh0piLnpFGgC/VmAk/LtPC6UxAjfBM8rgL6dup9T8wkcjYWnwMPDQE8e7LaC X-Received: by 2002:a05:6602:14c4:: with SMTP id b4mr994911iow.82.1621450418280; Wed, 19 May 2021 11:53:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621450418; cv=none; d=google.com; s=arc-20160816; b=faA3mEKOMVyL9EPmXdSMnnSuT6Q8ssiIPHv5ONTHVfW1frtvoVEWaqnM8gyhIEifuY 9iTF1qM4TnbSH55pER6gU+fyyKdNzDDQwi6fQZ32p5flRxUkx2UE7aiDU/18nuvt/S9W IlneVHQX02qllqJ4k3MP/arGHHBT5RgZpNnURqPURCZPu9pBJWqkhD2vySTcijhSKWPN kkVRV1brgmF9Nucxj+qtqL+xxOvvc3d1stTLFggd++7fVP7pzr9HhpOczAEBCckWJ2zN tyDDVUunvnuk2f0ZbEq6p6ZBQ2bAiCcQmbON1M+rqdIeAk/LebgttRRW5QAaxYercIne R6Tg== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :ironport-sdr:ironport-sdr; bh=0oTbF1pDjqrQHxSVrW00yLZoO6aOmA85u1GgGCVZGpk=; b=l35fnqb3B+P7RoFf3AW60EiP4eKoPA0WyfGHexhGFdGO4/cKps1U2u7AXmgooh4Ybn 3RBipLnroxp6JIFF4YflyS1b+lsPSCbU4LQd55AnMEYqCKtKKwmw3u38votsosLyOulC qTClhHGTWz89ia/3v0neLjZztFrLBzciQWbcdS3fasLP+iKSvs5uMU6+RJ5xFxd23zd6 kEeUmx8n9QMysimHvk+dIYKIABRMvqw1FtPOYgJ6K1RWveMmHeS4crpM7AOUzAFTZYFH F1FI0Ix+Foj2ubbn4l15BEcG5bZnMLS4rcdIV56ugIVIVIaOT4vrNaSl0PDyIFinzQOP 3SAQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f12si29843jas.31.2021.05.19.11.53.23; Wed, 19 May 2021 11:53:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234328AbhESAL7 (ORCPT + 99 others); Tue, 18 May 2021 20:11:59 -0400 Received: from mga09.intel.com ([134.134.136.24]:41857 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234061AbhESAL7 (ORCPT ); Tue, 18 May 2021 20:11:59 -0400 IronPort-SDR: 1NVBmOGLNw9/ZW4yFjA3ZDneuHZ/Z+2cWoU2EQ0/MmaFwnT7Yq3JMhcF2ohXZ8GP7bXpLOcI5Q AmpE3VKxrNXg== X-IronPort-AV: E=McAfee;i="6200,9189,9988"; a="200900089" X-IronPort-AV: E=Sophos;i="5.82,310,1613462400"; d="scan'208";a="200900089" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 May 2021 17:10:36 -0700 IronPort-SDR: KUWrUWX0Zmo8BW/DvGrbL7KADaA8hFGPs2alphIb+NRo9F+eecty/UekdT4WnTUy9hfigmMK3F fLynP0zmTT8A== X-IronPort-AV: E=Sophos;i="5.82,310,1613462400"; d="scan'208";a="439707707" Received: from bgi1-mobl2.amr.corp.intel.com ([10.209.0.202]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 May 2021 17:10:34 -0700 From: Brian Gix To: linux-bluetooth@vger.kernel.org Cc: inga.stotland@intel.com, brian.gix@intel.com Subject: [PATCH BlueZ 1/4] mesh: Fix delivery of PB-ACK to acceptors Date: Tue, 18 May 2021 17:10:24 -0700 Message-Id: <20210519001027.1540720-2-brian.gix@intel.com> X-Mailer: git-send-email 2.25.4 In-Reply-To: <20210519001027.1540720-1-brian.gix@intel.com> References: <20210519001027.1540720-1-brian.gix@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Rwmove unneeded initialization that prevented the Acceptor roll of ever recognizing a valid PB-ACK. --- mesh/pb-adv.c | 1 - 1 file changed, 1 deletion(-) diff --git a/mesh/pb-adv.c b/mesh/pb-adv.c index c74dae79f..83f922aa8 100644 --- a/mesh/pb-adv.c +++ b/mesh/pb-adv.c @@ -358,7 +358,6 @@ static void pb_adv_packet(void *user_data, const uint8_t *pkt, uint16_t len) first = !session->link_id; session->link_id = link_id; session->last_peer_trans_num = 0xFF; - session->local_acked = 0xFF; session->peer_trans_num = 0x00; session->local_trans_num = 0x7F; session->opened = true; -- 2.25.4