Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp1160111pxy; Thu, 29 Apr 2021 00:39:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzOLfDWQfPmLF/BRaMq3PHw2epjRTMhoftA8Hub+EX6FhBlcfnn2+O5pLwinxqNCE/mJC4v X-Received: by 2002:a17:907:8319:: with SMTP id mq25mr17388799ejc.441.1619681984744; Thu, 29 Apr 2021 00:39:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619681984; cv=none; d=google.com; s=arc-20160816; b=ZALCNSNm/qxs5QR4k/Nwu1PBzhZcwoey6Xf3MaowfptOovDSvCH9cQmQpI1MQJN8Po XIKZI4H0e5CriXAOpGtNc/Ds4YhWTjLVwS5IZvZCDpeCIzpn9n1H+gzkgJtmdismEzII 3Fjui8oZqJqp/AnH+352H+tpG9SFR6vkC8fa3sCBgrQ7H4wer3rcM4SaX/ibXfUXaXDb SMZr55HNj40aktZBJuI1oSrOsJzY/6zM34FA3ebcynAp4PHDFPBTa0YH+YBCgHQujRc/ HRaRt1kcPBRcRHoYRAOFRFcf7OWYLmuUTNnswpcz4kPiHLxyJ1A8zHyfpianZZolPNyY 6S6Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:references:message-id :content-transfer-encoding:cc:date:in-reply-to:from:subject :mime-version; bh=nlhpA2riMN3MZbeiPxOjxJ+GUELWQrJjpOo2djYKys8=; b=rr2RBEy+P5kWK1KevGAVoso8oH0vKU6eWCGIPCG6svmWYSlFkeCIiC8v5JqU/6bikZ gk4t/HVhShiRF2e8YyflHWQqQ6BXteCz3yfUL7jGxd945KrZeAXvNv3/EdfugQxg0v16 h+7qLIEkHrH0pExIbyG0v1WQWbjB9/T43VnsRMApbPcRKLHQhFcXkV73H6PfL/QEHKaX EUw+ByTyv16I0r/Y/KNhMMcCYwKsWU0KCyXwEMgIRMESVwNR2xa3OXJlrnI9hBNsWxxQ i67AotNdxwpDgf+SVGCszPF5vzhu/GLNMGkVbU3bCAbPCttWWyZGivNcu66QdoI0mBGq v+2A== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id sb9si2656147ejb.615.2021.04.29.00.39.02; Thu, 29 Apr 2021 00:39:44 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239280AbhD2HiN (ORCPT + 99 others); Thu, 29 Apr 2021 03:38:13 -0400 Received: from coyote.holtmann.net ([212.227.132.17]:48614 "EHLO mail.holtmann.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231405AbhD2HiL (ORCPT ); Thu, 29 Apr 2021 03:38:11 -0400 Received: from smtpclient.apple (p4fefc624.dip0.t-ipconnect.de [79.239.198.36]) by mail.holtmann.org (Postfix) with ESMTPSA id C5F08CECDC; Thu, 29 Apr 2021 09:44:11 +0200 (CEST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.80.0.2.43\)) Subject: Re: [PATCH v1] Bluetooth: Fix the HCI to MGMT status conversion table From: Marcel Holtmann In-Reply-To: <20210419165323.v1.1.I9f9e8bcc849d91c1bb588a5181317c3e2ad48461@changeid> Date: Thu, 29 Apr 2021 09:36:22 +0200 Cc: Bluetooth Kernel Mailing List , CrosBT Upstreaming , Miao-chen Chou , "David S. Miller" , Jakub Kicinski , Johan Hedberg , Luiz Augusto von Dentz , open list , netdev@vger.kernel.org Content-Transfer-Encoding: 7bit Message-Id: <8FB7AEF0-3E8A-4CC9-82FD-B647BAEF9765@holtmann.org> References: <20210419165323.v1.1.I9f9e8bcc849d91c1bb588a5181317c3e2ad48461@changeid> To: Yu Liu X-Mailer: Apple Mail (2.3654.80.0.2.43) Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Hi Yu, > 0x2B, 0x31 and 0x33 are reserved for future use but were not present in > the HCI to MGMT conversion table, this caused the conversion to be > incorrect for the HCI status code greater than 0x2A. > > Reviewed-by: Miao-chen Chou > Signed-off-by: Yu Liu > --- > > Changes in v1: > - Initial change > > net/bluetooth/mgmt.c | 3 +++ > 1 file changed, 3 insertions(+) patch has been applied to bluetooth-next tree. Regards Marcel