Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp218206iob; Mon, 2 May 2022 17:32:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJychMZ32LZSFlsZR779GieNq1/EjAGXGwghIvrpTABnpEvQXuw7ppGBtAY1H1bbFxxhjVPv X-Received: by 2002:a17:902:9a49:b0:15d:1da8:81fa with SMTP id x9-20020a1709029a4900b0015d1da881famr14248913plv.114.1651537959941; Mon, 02 May 2022 17:32:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651537959; cv=none; d=google.com; s=arc-20160816; b=rPEeqKuIWslQhjxpN+WZj6zczo5Qn0KHmR1b3SJZzSMU7uhZCy4PUTF8B+a/dGwg1E KNtnKwvOE+5l5jJAt3dAnO5Thht2D3tRcUy94cPZY1ysCQ7V5vRtfJlPAZYDGm+YaIpD qFoujE0O7wPaHc+21ydtO75qygI9vfI49Xp93fIoe20Z8zSdELDJNqDAyDjW0Q9zRMnN Fsk6lPV/iPv+n5XP5lI6Ffm03kgJbYxVhGxkLG+FdwFW/pxnQhp2kwQpr64jdA4MEL/a qSvjc+bFHT0H08HE/58IHBnzb59D5JS/IZVqFDZ8ZmVszX0qmP6dJaIkIc0Y3An8Ls0l HSgw== 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:to:from:dkim-signature; bh=puHV4lHEPhBIF6BxH6MHgxYktSpGEnV7iPsNgsNSU6w=; b=XKGg5wOzUvTK3RZ2ibeSB1te1Mzq+zmIhJBSpERUsnjw1N/D7AYi/7Vwh78+CFNcg1 SDBGTsYntesNZbsSxfCjSNBP3HHv3t18RsBU/Z4fMnw7XfolMvUuaQKWbGnyS3zbLrQ7 6GZ5FEIoKeWuFKP+rr4f8dKMNDOCNGM1ORSlNFodruAzLApF88MgBdwfE/EQpYYkJl2d YQOMtCuWIjvU9YF6MeLwrZsLGSgbKbyaQH+D+ELDttfrmpxyFYA8NKaSFiISEnWDAHOJ 9QvHvm5pc7wVk4r/e2oBmjnrY4WUf796+Dbp9XROua3/iaEQJamQPZoa243aWXZTusim ZFnw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=AWP0OogX; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id o23-20020a170902779700b001588a10836bsi6359090pll.9.2022.05.02.17.32.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 May 2022 17:32:39 -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=@gmail.com header.s=20210112 header.b=AWP0OogX; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 3CD403D1C5; Mon, 2 May 2022 17:25:53 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1387725AbiEBVsu (ORCPT + 99 others); Mon, 2 May 2022 17:48:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41128 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1387723AbiEBVst (ORCPT ); Mon, 2 May 2022 17:48:49 -0400 Received: from mail-pj1-x102d.google.com (mail-pj1-x102d.google.com [IPv6:2607:f8b0:4864:20::102d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A6E2665D0 for ; Mon, 2 May 2022 14:45:19 -0700 (PDT) Received: by mail-pj1-x102d.google.com with SMTP id j8-20020a17090a060800b001cd4fb60dccso475675pjj.2 for ; Mon, 02 May 2022 14:45:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=puHV4lHEPhBIF6BxH6MHgxYktSpGEnV7iPsNgsNSU6w=; b=AWP0OogXqdK35ZkpWHYmAsukjYI+Z4/6F3zfR74K49iyC5Rmldt5IR8890ggkCT2O9 5KXmfILmHcQAP/XHKfSE7S2BxJXafv5jqjKOpwzgthVxsB1sxa0Db4pDQ1FIFVS9zH1f z5qPvanzftdwyBsWG/XeZWoNfunDKWBEMDM4YlgCcZvFEs0NzEhb2ZJAf6CaX20VLC/2 kzWZUWmqxFbqHbIBcdrQKblCFu3d4nhbHO3aXUCGIYVZei92LIYoOj3svIlAeQ/wlCnn GEak7T5cQiMasyTvCZBd9Fs95vRN0CvlJly48Rgpu9FWw4OLyoMKp2lgLztqEvYax1hw voTA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=puHV4lHEPhBIF6BxH6MHgxYktSpGEnV7iPsNgsNSU6w=; b=E/gtUxVMRcNvyN9jIvOSHZda9Y8AhWu0jpMDf5uxxkIre75smt6lhoIoH6ZDQCu3Lo OpIOFjPgpHvjjqK+wtCvv7aDwKD3lTziRMfDhdXbRzvdzUkfMJ07jINwTPFLaqEjNAAZ o/BUVc8DNC5jfwVnK1AOpH/iXrffAg2aHo1JzMdOdYzKa9Tjs6m2l/Er3qc5Frwb+3nD TrqwSIrKh1qM8cJR7Q09GfGiGy6D/VxwVDt3XjVUTG1SKr2Cq06GyYEeQlwtGPOnobCs gJLCt2XSn1yXMyM/HrbsjPy+yV2ezD36YECGjwLFJLaVb1wKp4RibXc3/LAm0esBX9Bh 1RHw== X-Gm-Message-State: AOAM532aXQCF4zulQwi6zME7BLiP042j35uVNAhl+QHpfO1REG1QpJ1u 4z0zUrRX6nZ8MPUvLrpzW0re+N4jKwY= X-Received: by 2002:a17:902:ab59:b0:15c:f4f3:7e3b with SMTP id ij25-20020a170902ab5900b0015cf4f37e3bmr13970428plb.24.1651527918802; Mon, 02 May 2022 14:45:18 -0700 (PDT) Received: from lvondent-mobl4.. (c-71-56-157-77.hsd1.or.comcast.net. [71.56.157.77]) by smtp.gmail.com with ESMTPSA id a5-20020a1709027d8500b0015e8d4eb2aasm5090282plm.244.2022.05.02.14.45.18 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 May 2022 14:45:18 -0700 (PDT) From: Luiz Augusto von Dentz To: linux-bluetooth@vger.kernel.org Subject: [PATCH BlueZ] monitor: Fix parsing of LE Terminate BIG Complete event Date: Mon, 2 May 2022 14:45:17 -0700 Message-Id: <20220502214517.2363950-1-luiz.dentz@gmail.com> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, 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 From: Luiz Augusto von Dentz LE Terminate BIG Complete event format Subevent_Code, BIG_Handle and Reason but the last two were swapped. --- monitor/bt.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/monitor/bt.h b/monitor/bt.h index 644c97c98..7aa016a0e 100644 --- a/monitor/bt.h +++ b/monitor/bt.h @@ -3649,8 +3649,8 @@ struct bt_hci_evt_le_big_complete { #define BT_HCI_EVT_LE_BIG_TERMINATE 0x1c struct bt_hci_evt_le_big_terminate { - uint8_t reason; uint8_t handle; + uint8_t reason; } __attribute__ ((packed)); #define BT_HCI_EVT_LE_BIG_SYNC_ESTABILISHED 0x1d -- 2.35.1