From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id AD27AC433EF for ; Thu, 30 Jun 2022 20:22:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232269AbiF3UWD (ORCPT ); Thu, 30 Jun 2022 16:22:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49732 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232629AbiF3UWC (ORCPT ); Thu, 30 Jun 2022 16:22:02 -0400 Received: from smtp.github.com (out-22.smtp.github.com [192.30.252.205]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3B22828E19 for ; Thu, 30 Jun 2022 13:22:01 -0700 (PDT) Received: from github.com (hubbernetes-node-d218dd9.ac4-iad.github.net [10.52.205.75]) by smtp.github.com (Postfix) with ESMTPA id 93D2772054B for ; Thu, 30 Jun 2022 13:22:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com; s=pf2014; t=1656620520; bh=X1FQ0mksHZzCie9wUKV51o0tBvZstJu0zc8n3z7U2Fg=; h=Date:From:To:Subject:From; b=nRa6RTRWiv1S3LrqNoUu08nz2QMGXaoL5b01SPBDwtxXOm3xVwXel3kzRJk0URE23 2eyuf6mezmsGXv3unQLhoFTo0WC9566GcgikKJkXp3Al+RI8XtpfngYQYByMUHnST8 aVmbeqK3jNliE/5FEJ9oh4htNijy1MOGPU2R/Xfk= Date: Thu, 30 Jun 2022 13:22:00 -0700 From: iwestin To: linux-bluetooth@vger.kernel.org Message-ID: Subject: [bluez/bluez] be7ebf: mesh: Use correct net_id for received CTL messages Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-GitHub-Recipient-Address: linux-bluetooth@vger.kernel.org X-Auto-Response-Suppress: All Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Branch: refs/heads/master Home: https://github.com/bluez/bluez Commit: be7ebf29b370d298290f6a4eceb31b1d9c94081c https://github.com/bluez/bluez/commit/be7ebf29b370d298290f6a4eceb31b1d9c94081c Author: Isak Westin Date: 2022-06-30 (Thu, 30 Jun 2022) Changed paths: M mesh/net.c Log Message: ----------- mesh: Use correct net_id for received CTL messages For received CTL mesh messages, the wrong network ID variable was passed to ctl_received. This patch changes to the correct variable. Also, changed type of net_key_id argument in ctl_received function to be consistent wich the whole call chain.